How to change version of Python in PyCharm

15,677

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.

Share:
15,677

Related videos on Youtube

SomeName
Author by

SomeName

Updated on October 23, 2022

Comments

  • SomeName
    SomeName over 1 year

    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 ?

    • abc
      abc over 5 years
      you just need to change the Python Interpreter used for the project. Edit configurations/Python interpreter.
    • gogaz
      gogaz over 5 years
      ... and install Python 3.6 if it's not already done
  • SomeName
    SomeName over 5 years
    When i go like that, there is only Python 3.7 for every project I have made up until now... :/
  • OneCricketeer
    OneCricketeer over 5 years
    Well, yes, you've made a Virtualenv for every project, then, which is good practice. You need to install Python 3.6 (outside the IDE) if that's what you what to use, however Python 3.6 and 3.7 are not vastly different