![pycharm install packages pycharm install packages](https://resources.jetbrains.com/help/img/idea/2021.3/py_system_interpreter_show_all.png)
Click the Mark Directory as -> Sources Root menu item in the popup menu list.Right-click the src folder in the P圜harm project panel on the left side.Put all your own python files (.py file) that contain the python module into an src folder.Then you can reference your custom python module in the P圜harm project without error. It is very easy to add your own python module to the P圜harm PYTHONPATH environment variable.py file in P圜harm, you may encounter the Unresolved Reference Issue. When you import a custom python module that is written in your own.py file) To P圜harm PYTHONPATH To Fix Unresolved Reference Issue.
PYCHARM INSTALL PACKAGES HOW TO
How To Add Custom Python Module ( wrote in your own.
PYCHARM INSTALL PACKAGES CODE
![pycharm install packages pycharm install packages](https://resources.jetbrains.com/help/img/idea/2021.3/py_install_package_from_VCS.png)
![pycharm install packages pycharm install packages](https://i.stack.imgur.com/byTfS.png)
Input the library name in the search text box ( for example PyMysql), select the library, and click the Install Package button to install it.Click the + button in the right panel bottom left corner to popup the Available Packages window to install a third-party library.And select the python version that your current python roject is used on the right side Project Interpreter drop-down list. Then click Project -> Project Interpreter menu item in the left panel.Open P圜harm, click P圜harm -> Preferences menu item.
PYCHARM INSTALL PACKAGES WINDOWS
This example will demo the P圜harm import library process step by step, it uses the P圜harm macOS version, the P圜harm Windows or Linux version is similar.