Friday, April 1, 2016

PyCharm: Install Packages Failed

Leave a Comment

I need some packages to be installed. No matter what direction I try, it only gets worse.

enter image description here

Please help.

40:497: execution error: The directory '/Users/doekewartena/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/doekewartena/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Could not find a version that satisfies the requirement path (from versions: ) No matching distribution found for path (1)

1 Answers

Answers 1

Did you check file permissions pack for your user ?

You can run the below command to change the ownership of directory (/Users/doekewartena/Library/Caches/pip) to your current user (doekewartena) :

$ sudo chown -R doekewartena /Users/doekewartena/Library/Caches/pip 
If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment