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
source
share