How to change version of Python in PyCharm

Viewed 18343

I wanted to make Discord bot (should I even write this here), but it's said that I need Python 3.6, not Python 3.7 that I have.

How can I change from Python 3.7 to Python 3.6 to make something like that ?

2 Answers

First make sure you have Python 3.6 installed.

Then Go to File > Settings > Project:* > Project Interpreter, then select your interpreter under the Project Interpreter drop down.

If its still not there, you can also press the settings cog button enter image description here on the right side of the drop down and select add. Select System Interpreter from the left side, then select the interpreter from there. When you press ok, the interpreter will be available to be selected.

in this order:

File---settings---project:xxx---project Interpreter--(choose your dir)

in the right have a project Interpreter,choose your python

Related