mongodb-labs / flask-pymongo

PyMongo support for Flask applications

Repository from Github https://github.commongodb-labs/flask-pymongoRepository from Github https://github.commongodb-labs/flask-pymongo

Import Error in virtual environment

vbansal027 opened this issue · comments

Unable to import flask_pymongo even after successful installation in a virtual environment, set up for a flask app.
image
image

Are you able to import at the command line if you run the python in your virtualenv?

Do you have any logs or diagnostics about why VSCode can't find it?

Yes, I can successfully import at the command line in my virtualenv. But, the error persists while doing so in the VSCode. I do not have any logs for the same either

OK. You should report this to the VSCode team, or try asking on StackOverflow — it sounds like Flask-PyMongo itself is installed and working properly.