You are using virtual environment pythonProject\
PyCharm can make
To use same Python interpreter as you use cmd look at Configure a Python interpreter
Do this from cmd:
here you point to first output in cmd so for me this is
Then PyCharm will use this Python interpreter every time you create a new project.
venv
doc venv.PyCharm can make
venv
automatically.To use same Python interpreter as you use cmd look at Configure a Python interpreter
Do this from cmd:
C:\>python -c "import sys; print(sys.executable)" C:\python310\python.exe C:\>pip -V pip 22.0.4 from C:\Python310\lib\site-packages\pip (python 3.10)Then look at
Setting the default interpreter
in link,here you point to first output in cmd so for me this is
C:\python310\python.exe
for you it can be different.Then PyCharm will use this Python interpreter every time you create a new project.