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.
Solution of Jose Borreguero worked for me!