Can I use Anaconda Python 3 with Pycharm?

My main problem is that I want to install scipy on a Window machine for Python 3 and use Pycharm as my development environment.

The suggestion of Scipy Documentation , as well as several StackOverflow messages ( Installing NumPy and SciPy on 64-bit Windows (using Pip) , Failure to install SciPy on windows, etc.) is to use Anaconda to install pre-loaded scipy and prevent fortran and compilers C.

I used Anaconda for Python 2.7 in the past, so I created the Anaconda environment for Python 3 after these directions .

Environment team

conda create -n py3k python=3 anaconda

And a command to activate the environment

source activate py3k

This works fine, but I am doing most of my development in PyCharm, and I cannot figure out how to activate the Anaconda environment from PyCharm. Is there a way to do this or should I use a different approach?

+4
source share
1 answer

An explanation of how to configure PyCharm with Anaconda can be found in the documentation .

In PyCharm settings you can simply select the correct python interpreter,

Project Translator> Python Interpreters

As pointed out by @Cecilia, in the case where a virtual environment (e.g. with a name py3k) is used with Anaconda, the correct python interpreter is under the symbol

~/Anaconda/envs/py3k/python.exe
+4
source

All Articles