Pycharm “unresolved reference” on join of os.path

拜拜、爱过 提交于 2019-12-05 08:42:34

Sadly, it seems that PyCharm will try to evaluate the path to an existing file/folder, which in some cases will not exist and thus create this warning.

It's not very useful when you are building a path for something that's supposed to be created, because obviously it will not exist yet, but PyCharm will still complain.

You could try clicking on File > Invalidate Caches > Invalidate and Restart. This worked for me.

[edit] It will come back tho, not much else to do.

Check that pycharms is using the correct interpreter.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!