Intellij Ultimate + Python Not Referencing Module in Imported Package
Answered
I am using the new version of Intellij Ultimate (2018.1) and have the Python plugin enabled. I created a virtual environment and have selected it. I have installed Flask and I am trying simply do: from flask import Flask. Intellij can import flask but it cannot recognize Flask. This is very strange. Is there some sort of setting that I am missing? Here are some screen shots:
SDK I am using:

I select it:

I can see flask in site-packages. And in __init__ file in flask there is an import statement for Flask in app.py

But Flask module is not found. And if I do just an 'import flask', I will get a tip to import flask.Flask but Flask will still not be recognized.

Please sign in to leave a comment.
It was a known issue https://youtrack.jetbrains.com/issue/PY-29338 which is already fixed. Please update your python plugin and let us know if the problem remains.