0

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

Ancalagon BerenLuthien
  • 1,154
  • 6
  • 20
  • 29
  • Did you click on the three dots to the right of the drop down to point to the location of the Python 2.7.11 install? – idjaw May 06 '16 at 06:00
  • Do you have `export PATH="$(brew -prefix)/$PATH"` in your `.bash_profile`? – Sardorbek Imomaliev May 06 '16 at 12:39
  • I think the label of the "2.7.6" is just wrong. You could try to print the python version in code with that interpreter if you'd like to check that isn't actually "2.7.11" – OneCricketeer May 07 '16 at 05:03

2 Answers2

1

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
Guoliang
  • 885
  • 2
  • 12
  • 20
0

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

Saif ali Karedia
  • 860
  • 1
  • 8
  • 15