Bill Ancalagon the black Bill Ancalagon the black - 7 days ago 11
Python Question

Pycharm, can not find Python version 2.7.11

enter image description hereenter image description hereI installed Python 2.7.11 on this Mac, and from terminal Python 2.7.11 can be started. However,
From the interpreter of Pycharm (2016.1 version) , there is no Python 2.7.11.

Any suggestions ? Thanks

PS:I successfully did this on one Mac, but for some reason I cannot make it on another Mac... odd..

Answer

if you cannot find from the list, you can add it manually,

https://www.jetbrains.com/help/pycharm/2016.1/configuring-local-python-interpreters.html?origin=old_help

you need to specify the python path in the add local dialogue. you mentioned that you can start python 2.7.11 from your terminal, then type 'which python' in your terminal and get your python path. copy paste this path to your PyCharm "add Local" . e.g:

bash-3.2$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
Comments