All code compiles with no issues however PcCharm keeps complaining about SQLAlchemy,what could be the problem here?
Asked
Active
Viewed 4,704 times
1
-
3Show your traceback (By the way there is no compilation), If you are sure that `SQLAlchemy` is installed at your interpreter try `File` -> `Invalidate Caches` -> Restart PyCharm. – Kobi K Aug 10 '14 at 10:56
-
Yup,everything works as it should,no error or anything apart from the unresolved underline in IDE :( Invalidate caches also not worked... – Sin5k4 Aug 10 '14 at 11:36
-
importing flask_sqlalchemy instead of flask.ext.sqlalchemy does it for now :) – Sin5k4 Aug 11 '14 at 07:51
-
Sometimes PyCharm "cannot find reference" to SQLAlchemy classes because it has stubs in `.PyCharm*/system/python_stubs`. If so, remove/rename `sqlalchemy` directory/directories in _subdirectories_ of `python_stubs` – bartolo-otrit Feb 06 '18 at 11:48