Pycharm Couldn't connect to console process

Steven D picture Steven D · Jan 11, 2016 · Viewed 8.6k times · Source

I recently installed Caffe along with OpenCV and other dependencies. Pycharm worked well for 2 days and today I can't start Python Console in Pycharm anymore. I can start python in terminal with no problem... Everytime I try to start a Python Console it will take a while to "connecting to console" and then this is what I get after:

/Users/myname/anaconda/bin/python "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevconsole.py" 56229 56230

Python 2.7.10 |Anaconda 2.2.0 (x86_64)| (default, May 28 2015, 17:04:42) Type "copyright", "credits" or "license" for more information.

IPython 3.0.0 -- An enhanced Interactive Python. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://binstar.org

Couldn't connect to console process.

Process finished with exit code 137

Answer

Thomas Jr picture Thomas Jr · Jun 19, 2019

I solved going on Settings/Project: [YourProjectName]/Project Interpreter and changing it to python.exe from the dropdown menu. I don't know why but there was a different one by default.