I'm trying to update tensorflow.
pip install --upgrade tensorflow-gpu
It first checks for the packages and creates the following error
Installing collected packages: markdown, werkzeug, numpy, tensorflow-gpu, setuptools
Found existing installation: Markdown 2.2.0
Uninstalling Markdown-2.2.0:
PermissionError: [WinError 5] Access is denied: 'c:\\program files\\anaconda3\\lib\\site-packages\\markdown-2.2.0.dist-info\\description.rst'
I'm not very experienced with Windows, I did all my work on Linux so far, so what do I do here?
If you choose to install Anaconda for All Users you will need to escalate privileges on the Command Prompt. Right click CMD and choose "Run As Admin". If you do not want to do this every time you will need to set the permissions on the entire Anaconda directory for you user to Full Access.
Run the cmd in administrative mode and type
pip install --upgrade tensorflow-gpu --user
This worked for me
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