I'm trying to run pymongo on windows and I keep getting the following error:
import pymongo
ImportError: No module named 'pymongo'
My code:
from pymongo import MongoClient
client=MongoClient()
db=client.test_db
dict={'A':[1,2,3,4,5,6]}
db.test_collection.insert(dict)
to_print=db.test_collection.find()
print(to_print)