SOLVED: pycharm seem to fail to add to PYTHONPATH

Completed

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?

 

2 comments

The issue is resolved after I:

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

0

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.

0

Please sign in to leave a comment.