Ancalagon BerenLuthien
Ancalagon BerenLuthien

Reputation: 1194

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..

Upvotes: 0

Views: 4295

Answers (2)

Saif ali Karedia
Saif ali Karedia

Reputation: 912

Just click on the python in the first image you uploaded. It will work.

Upvotes: 0

Guoliang
Guoliang

Reputation: 895

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

Upvotes: 1

Related Questions