Pycharm Not Adding Sources Root To `sys.path` May 30, 2024 Post a Comment In a run configuration in PyCharm I've check both: Add content roots to PYTHONPATH Add source roots to PYTHONPATH But I can't import files relative to my sources root. This is aSolution 1: I found the solution here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000164624-SOLVED-pycharm-seem-to-fail-to-add-to-PYTHONPATHJust delete the .idea project directory and re-create the project to fix the problem. Share Post a Comment for "Pycharm Not Adding Sources Root To `sys.path`"
Post a Comment for "Pycharm Not Adding Sources Root To `sys.path`"