Sometimes in PyCharm 2017.1.4 with python3.6 async/await
statements show as unresolved, although there aren't any errors and in next tab async/await
not underlined as an error.
Restarting fix this issue. How to fix that?
I encountered the same issue since I erroneously used the 'await' outside of an async method (Interpreter set to Python 3.6). 'await' is only valid in an 'async' method using Python 3.6. Pycharm correctly produces the error, but the message 'await unresolved' is not specific.
I just hit the same problem. It was because the project interpreter was set to python2.7, the await/async keys are new as of python3, and not backward compatible.
preferences>project>project-interpreter is where I could select the correction version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With