Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.64 KB

PYCHARM_INTERPRETER.md

File metadata and controls

56 lines (34 loc) · 1.64 KB

Configuring your Python virtual environment PyCharm (Community and Pro)

1. Click on the current interpreter shown on the bottom right

2a. Choose an existing interpreter from the list

If your desired interpreter was found, select it and you're done.

If not, move onto 2b.

2b. Add a new interpreter

Add New Interpreter > Add Local Interpreter...

3. Select your interpreter type on the left

If you installed Python via Anaconda, choose that and follow the instructions here.

Otherwise, you can choose System Interpreter

4a. Select an existing system interpreter

If your desired version was found, click OK. If not, go on to 5b.

4b. Find your system interpreter

If you’re not sure where to find it, try one of the following locations (replace 3.9 or 39 with the desired version number):

Windows (look for python.exe)

  • C:\Python39
  • C:\Program Files\Python39
  • C:\Users\username\AppData\Local\Programs\Python\Python39-XX

Mac (look for python3.9 or python3)

  • /usr/local/bin/
  • /Library/Frameworks/Python.framework/Versions/3.9/bin/
  • /usr/local/Cellar/python/3.9.X_X/bin/
  • /Users/username/anaconda/bin/
  • /anaconda3/bin/

Linux (look for python3.9 or python3)

  • /usr/bin/
  • /usr/local/bin