I have just installed PyCharm 2017.3.3 and I am trying to run a project written in python 3 but it doesn't run. I have checked the setting page it has only Python 2.7 interpreter. How can I upgrade the interpreter to Python 3.x.
I have checked the official PyCahrm
11 Answer
First locate your interpreter on your Ubuntu system, then Try these steps:
- From the file menu click or select
settings:
- From left pane select
project name, then on the right click onproject interpreter
- On the right click on the
project interpreterdrop down arrow and chooseshow allfrom the options there.
- On the dialogue box that appears click on the
+button on the right then click onAdd Localtext that will appear.
- In the
Add local interpreterdialogue box that appears selectSystem Interpreterthen click on the three dots to the right and navigate to your python location mine isusr/bin/python3.5. And with that you should have your project use that python version.