SOLVED: pycharm seem to fail to add to PYTHONPATH


My test script does not load modules specrefl.resolution or specrefl.model even though I added the path to specrefl package in the PYTHONPATH (last entry in the list below). Can anybody help me?



The issue is resolved after I:

- closed the project
- deleted the .idea/ folder
- updated pycharm (probably not necessary)
- restarted pycharm
- reloaded the project


I had the same experience just after upgrading to Python 3.7. If I started a console withing PyCharm it read the PYTHONPATH, however running or debugging did not. Fixed by closing, and then deleting .idea folder.


Please sign in to leave a comment.