Search code examples
pythonpython-3.xpycharm

How to change version of Python in PyCharm


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?


Solution

  • 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.