Python anaconda access denied

Viewed 45952

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?

2 Answers

Run the cmd in administrative mode and type

pip install --upgrade tensorflow-gpu --user

This worked for me

Related