PyCharm community edition - impossibile to set python3 as interpreter

Answered

In the settings page I can choice between python27 and python3 (the one I set as default interpreter). But when I setup a run confiuguration for a project only python2.7 is showed and can't use python3.

How can I solve this?

1 comment
Comment actions Permalink

I just tried to recreate this and was unable to. Can you try the following:

  • Create a file hello.py
  • Inside, have print('hello') as the only line (meaning, it will fail under 2.7)
  • Right click in the editor, choose Run 'hello'

This should confirm that your Python 3 project interpreter is setup ok.

0

Please sign in to leave a comment.