I have installed Anaconda 3 and PyCharm CE after that. I am able to chose the interpreter to be Conda environment. But when I try using certain packages such as matplotlib it throws "Module not found error". When I run pip it returns saying that matplotlib is available.
pip install matplotlib
Requirement already satisfied: matplotlib in./anaconda3/lib/python3.6/site-packages
Clearly the package is there and for some reason it does not show up.
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.
They work together fine - you just need to set up a run configuration that points to the Anaconda installation. Show activity on this post. My experience with Anaconda was using it for a machine learning learning class. We used jupyter notebook to do all our learning and projects.
Apparently the naming of the selection depends on the operating system, but the Python interpreter can be selected as follows:
Using the dropdown select the right Python interpreter. Depending on your OS and setup this can be the default interpreter (e.g. ~/anaconda3/bin/python
) or the interpreter corresponding to the Conda environment of your choice (e.g. C:\users\username\.conda\envs\projectname\python.exe
).
Now all the packages installed with Anaconda should be listed.
With Python 2019.2.3 (CE) there are the following steps on a Windows 10 system:
Ctrl+Alt+S
+
button and select Conda Environment on the left:Now select the desired environment by opening the dropdown menu Interpreter and click OK. Now your conda environment should be listed as project interpreter. Click OK to close the window and click Apply in the settings window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With