I just updated PyCharm to the latest version and I've been having trouble with this error message. Basically, I can't turn off the error message that says "Python version 3.5 does not support variable annotations."
My default and project interpreter is Python 3.6, and I don't even have Python 3.5 added in PyCharm, so any help with this would be much appreciated.
Some pictures:
Edit: Updated with one more picture of the Project Interpreter settings:
Thanks to @user2235698, I fixed the issue by removing my project interpreter and re-adding it to Pycharm.
Ubuntu did an update which changed my Python 3 version from 3.6 to 3.5, but Pycharm didn't realize it was changed. Updating the interpreter directory from /usr/bin/python3 to /usr/bin/python3.6 fixed things.
Thanks again everyone! Marking this as solved.