MongoDB.live, free & fully virtual. June 9th - 10th. Register Now

Pymongo and Mongo db

HI! I have a problem with Pymongo.I installed trough pip but when I try run the Python script , launch this error

.
Traceback (most recent call last):
File “C:\Users\Dell\Desktop\Python\app2.py”, line 1, in
import pymongo
ModuleNotFoundError: No module named ‘pymongo’

Thanks!!!

Not too familiar with python on windows.

When this happens to me on linux it is usually that I have installed the module into the wrong environment.

i.e. Installed into python2 but app is invoking python3. Or I have installed globally instead of the virtualenv.

Its a python thing, not mongo.