Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm: Install Packages Failed

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)

like image 662
clankill3r Avatar asked Mar 09 '16 15:03

clankill3r


People also ask

How do I manually install PyCharm packages?

Go to File > Settings > Project Interpreter > click the + button and search the name of the package you want to install.

Can you pip install in PyCharm?

That's it , now you can use the pip install on pycharm or on prompot.


Video Answer


1 Answers

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
like image 99
semirturgay Avatar answered Oct 06 '22 17:10

semirturgay