Search code examples
pythonpycharmide

How can I manually point to a version of a laguage (python) in my IDE?


I am using the IDE Pycharm, but I must have downloaded Python 3.9 outside of it because the version in Pycharm is 3.8 and the version when I run in CMD is 3.9. Is there a way that I can update my Pycharm (or any other IDE for that matter) to point to the 3.9 executable?


Solution

  • Add virtualenv with the desired python, virtualenv venv -p python3.9 Go to menu pycharm==>settings==>python interpeter. Configure the above virtualenv python to be the interpeter python venv/bin/python enter image description here