PyCharm shows unresolved references error for valid code


I am using PyCharm to work on a project. The project is opened and configured with an interpreter, and can run successfully. The remote interpreter paths are mapped properly. This seems to be the correct configuration, but PyCharm is highlighting my valid code with "unresolved reference" errors, even for built-in Python functions. Why don't these seem to be detected, even though the code runs? Is there any way to get PyCharm to recognize these correctly?

This specific instance of the problem is with a remote interpreter, but the problem appears on local interpreters as well.

8/12/2014 6:15:39 AM

Accepted Answer

File | Invalidate Caches... and restarting PyCharm helps.

8/2/2012 8:12:08 AM

Dmitry's response didn't work for me.

I got mine working by going to Project Interpreters, Selecting the "Paths" tab, and hitting the refresh button in that submenu. It auto-populated with something called "python-skeletons".

edit: screenshot using PyCharm 3.4.1 (it's quite well hidden)

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow