Forums

Cannot Import Numpy

when i try to import numpy it gives the following error. Can import numpy on bash of both virtualenv and console. But it cannot find it on the web app.

ModuleNotFoundError: No module named 'numpy'

Are you sure you're using the right version of Python (and/or virtualenv) in your web app?

I am having this same problem. I can import numpy in the virtualenv, but not in the django webapp that uses the same virtualenv.

Can we take a look at your files? We can see them from our admin interface, but we always ask for permission first.

Any help would be appreciated.

Your virtualenv django2 that you use to run your web app seems to be broken. Delete it and create a new one and install all the required packages there.