Friday 3 April 2020

Add PYTHONPATH to PyCharm

In PyCharm Community 2019.2/2019.3 (and probably other versions), you can simply:
  • right-click any folder in your project
  • select "Mark Directory As"
  • select "Sources Root"
Modules within that folder will now be available for import. Any number of folders can be so marked.

from : https://stackoverflow.com/questions/28326362/pycharm-and-pythonpath

No comments:

Post a Comment