![how to configure pycharm for python 3 how to configure pycharm for python 3](https://www.osstuff.com/wp-content/uploads/2018/12/install-python-and-pycharm-in-windows-10-2.png)
- #How to configure pycharm for python 3 install
- #How to configure pycharm for python 3 update
- #How to configure pycharm for python 3 code
This morning, when I decided to open a new project with a different python version, I thought, “Yeah, I’ll just use a virtualenv”, because the internet said I can “Just do it”. Deactivate your virtualenv by entering deactivate.
#How to configure pycharm for python 3 install
Use pip to install packages like you usually do.Open Command Prompt or Anaconda Prompt, and activate your virtualenv by entering.Install packagesĬurrently, your virtualenv contains only the crucial packages, pip and setuptools.
#How to configure pycharm for python 3 update
If you don’t see your python version on the Options list, this might also be the time to update P圜harm… yup, happened to me too… 5.
#How to configure pycharm for python 3 code
Go to File -> Settings-> Editor -> Inspections -> Python -> Code compatibility Inspection, make sure the box on the top indicates the specific project you are working on, and tick the box of your python version. This will open a prompt window that allows you to define a new interpreter:Īssuming you are using Code Inspections, you might need to tell P圜harm which python version to inspect for.
![how to configure pycharm for python 3 how to configure pycharm for python 3](https://resources.jetbrains.com/help/img/idea/2021.2/py_interpreters.png)
If you are using P圜harm, open the project you would like to work on (that is/will be written with the new python version), and go to File -> Settings -> Project -> Project Interpreter press the gear icon and then Add. Virtualenv C:\Users\\Anaconda3\envs\ -p C:\\Python37\python.exe 4. ĭecide where you want your virtualenv to be, for example, Open the Command Prompt, or if you are using Anaconda open the Anaconda Prompt. Either way, remember this location and let’s denote it from now on with C:\\Python37.