PyCharm can sometimes get confused specially if you have multiple interpreters and using virtualenv. To fix "Unresolved reference 'print'" message, do File | Setting... (Ctrl+Alt+S) | Project Interpreter | Show All (drop down) | Show path for the selected interpreter (

) | Reload List of Paths (

).
Reference(s):
http://forum.jetbrains.com/thread/PyCharm-291
1 comment:
Thank you soooooooooo much. This thing was getting on my nerves coz something had happened to the 💻 and the interpreter thing wasn't coming and couldn't run any of the code I had already written. Seeing this I could fix it. Thank you.
Post a Comment