Pycharm wont/unable connect to console

Answered

Hello! I'm fairly new to Pycharm and this is probably a very simple fix but its been driving me cray for days, I keep coming back to solve it an am getting nowhere. I can write scrips and run scripts fine, for example i just ran a program to print "hello" and its compiles fine and prints. But when i try to use the console it always says at the bottom 'connectiing to console...'. In the console window is printed

"/Users/Alex/PycharmProjects/FirstProject/venv/FirstProjectVen/bin/python /usr/bin/python3.4 "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/pydevconsole.py" --mode=client --port=54050
/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/usr/bin/python3.4': [Errno 2] No such file or directory

Process finished with exit code 2"

I've look through tutorials, the Pycharm setting up instructions, and other forums but can find how to solve this issue. Ive tried updating Pycharm and have now even deleted it from my laptop and re downloaded it (so its definitely the latest version). Not really sure what I'm missing here. Any help would be greatly appreciated.  

5 comments
Comment actions Permalink

Hi!

Please share a screenshot of your console settings Preferences | Build, Execution, Deployment | Console | Python Console

0
Comment actions Permalink

Thanks for getting back to me!

0
Comment actions Permalink

Why do you have /usr/bin/python3.4 in Interpreter options field?
Removing it will solve the problem.

0
Comment actions Permalink

Thank you! I have removed it and now it's working, I knew it would be something simple like that! Thanks for your help!

0

Please sign in to leave a comment.