I am new to Python and Tensorflow. I tried to install tensorflow using the command pip install --upgrade tensorflow. However, the installation fails at two points:
During both these instances, the error is the same
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Can anybody suggest some solution for this error?
I had same failure, tried older Python, older TensorFlow but no luck. Then fell upon this and it works for me (I'm on Windows). Make sure you do the following:
set WRAPT_INSTALL_EXTENSIONS=false
before running having pip install tensorflow
.
Hope this helps!
set WRAPT_INSTALL_EXTENSIONS=false
Worked for me, but I had to run it from a command window, not powershell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With