There is a tutorial in the IDEA docs on how to add a Python interpreter in PyCharm, which involves accessing the "Project Interpreter" page. Even after installing the Python plugin, I don't see that setting anywhere.
Am I missing something obvious?
There is a tutorial in the IDEA docs on how to add a Python interpreter in PyCharm, which involves accessing the "Project Interpreter" page. Even after installing the Python plugin, I don't see that setting anywhere.
Am I missing something obvious?
For Pycharm users:
File ⟶ Settings ⟶ Project: MyProject ⟶ Project Interpreter
With the Python plugin installed, navigate to File > Project Structure. Under the Project menu for Project SDK, select "New" and select "Python SDK", then select "Local". Provided you have a Python SDK installed, the flow should be natural from there - navigate to the location your Python installation lives.
Follow these steps:
So here is a simple project, where I have used
Selenium
and added that using external pathNow you need to open
Project Structure
and go toSDK
SectionNow Select your project's virtual environment. In the
Classpath
tab add thePYTHONPATH
by clicking+
buttonand now the modules will be recognized