Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Available packages empty in Pycharm with Anaconda interpretter

I have installed Anaconda in my Windows 7 64 bit with Python 2.7.13.

I set up the interpretter in my Python by locating the python.exe within the anaconda installation directory.

I can run programmes. However, I can not install additional packages using the package installer of Pycharm. enter image description here

I have looked at online guides, but nothing helpful so far. What am I doing wrong?

EDIT: I added the link https://pypi.python.org/simple using the Manager Repositories button. enter image description here

However, it does not work

like image 870
Echchama Nayak Avatar asked Jul 09 '17 17:07

Echchama Nayak


People also ask

Why packages are not installing in PyCharm?

The most viable troubleshooting action is to try installing the problematic package on the selected Python interpreter using the terminal. If you get an identical error message, then the problem is not in the IDE and you should review the rationales and typical cases, or search for a solution on the Internet.

Why import is not working in PyCharm?

Troubleshooting: Try installing/importing a package from the system terminal (outside of PyCharm) using the same interpreter/environment. In case you are using a virtualenv/conda environment as your Project Interpreter in PyCharm, it is enough to activate that environment in the system terminal and then do the test.


2 Answers

The simple solution to this is that install your needed package into Anaconda Prompt(Run anaconda prompt in administrator mode.) using pip command then that package will automatically be reflected into pycharm.

enter image description here

like image 106
Amar Kumar Avatar answered Oct 18 '22 04:10

Amar Kumar


  1. Click Manage Repositories

Does anything show up there? I'm guessing you don't have anything. I have https://pypi.python.org/simple. So..

  1. Click '+' symbol

  2. Fill in https://pypi.python.org/simple

  3. Click OK

  4. Click refresh wheel on the frame you screenshot

Did that work?

like image 43
nanotek Avatar answered Oct 18 '22 05:10

nanotek