Agustin
Agustin

Reputation: 1526

PermissionError pip install

pip install has suddenly stopped working - unsure if related to recent update. I've tried it both on pip 19.0.3 and pip.20.0.2 When using:

python -m pip install matplotlib --user

I get an error like this

PermissionError: [Errno 13] Permission denied: 'C:\\Program Files\\Python37\\Lib\\site-packages\\accesstest_deleteme_fishfingers_custard_d1677h'

Any help appreciated

Upvotes: 0

Views: 141

Answers (2)

Agustin
Agustin

Reputation: 1526

Using:

python -m pip install matplotlib

worked

Upvotes: 1

Sam Morgan
Sam Morgan

Reputation: 3328

I suspect you need to run your terminal as an administrator-elevated account to access the restricted resource.

Upvotes: 0

Related Questions