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 ?
Change the Python interpreter in the project settingsPress Ctrl+Alt+S to open the IDE settings and select Project <project name> | Python Interpreter. Expand the list of the available interpreters and click the Show All link. Select the target interpreter.
As a standard, it is recommended to use the python3 command or python3. 7 to select a specific version. The py.exe launcher will automatically select the most recent version of Python you've installed. You can also use commands like py -3.7 to select a particular version, or py --list to see which versions can be used.
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 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With