aseem bhartiya
aseem bhartiya

Reputation: 104

pycharm packages not displayed in the project interpreter window

I am using pycharm 5.0.4 community edition. I wanted to install package fuzzywuzzy. But when i go to project interpreter window and try to install package, it shows me no available packages. Can it be issue because I am using my work desktop.

Thanksenter image description here

Upvotes: 1

Views: 6768

Answers (3)

chetan_surwade
chetan_surwade

Reputation: 82

Below are some steps you can try, which worked for me:

Step-1 Activate your intelpython using:

source <your installation path>/bin/activate

Step-2 Clone the environment using conda clone command and make sure the pwd is ~/:

conda create -n <source_environment> --clone <destination_environment>

Step-3 Activate the cloned environment:

source ~/.conda/envs/<your_environment>/bin/activate

Step-4 Provide read-wite permissions to intelpython and cloned enviroment using:

sudo chown -R <user_name>:<group_name> /<path_to_directory i.e. /opt/intel and ~/.conda/envs>

Step-5 Open Pycharm and in System Interpreter add the path to above created enviroment and then you can use pip or Pycharm itself, it should work.

Upvotes: 1

mallochio
mallochio

Reputation: 1

I had a similar problem. I was using the Intel python distribution, and installing packages required write permissions to the folder that intelpython was installed in, which in my case was /opt/intel/intelpython2.

Try adding write permissions to the folder using the following command:

sudo chown -R <username> </path/to/folder>

Then try adding missing packages and/or repositories as seen in this page - https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html.

Upvotes: 0

webapp
webapp

Reputation: 708

Can you provide more details- Are you not able to see any packages? Try searching for some other packages like pip, matplotlib, django, numpy etc. Sometimes it takes time for the IDE to build skeletons before you can actually start installing the packages. So once the IDE wait for it to complete its setup and then try to access the installation packages available.

Also if you do you have any other python interpreter installed on your local machine? If so then try switching to that interpreter.

Upvotes: 1

Related Questions