Reputation: 2161
I've already changed the default project interpreter in PyCharm under File
| Default Settings
| Project Interpreter
to Python 3.6, but when I try to write variable annotations (e.g. int: x = 6
) PyCharm complains that Python version 3.4 does not support variable annotations
, as Python 3.4 was the former interpreter I was using.
How do I change the syntax check to that of Python 3.6? Or any other interpreter, for that matter.
Upvotes: 1
Views: 4466
Reputation: 23134
The default interpreter (and the default settings in general) apply on newly created projects, if you want to change an already created project settings you need to:
Upvotes: 2