from pymongo import MongoClient
import pandas as pd
Output:
Traceback (most recent call last):
File “/Users/Vincent/Desktop/IBNE/MS_database/initializaton.py”, line 1, in
from pymongo import MongoClient
ModuleNotFoundError: No module named ‘pymongo’
Using cached pymongo-4.7.2-cp311-cp311-macosx_10_9_x86_64.whl.metadata (22 kB)
Requirement already satisfied: dnspython<3.0.0,>=1.16.0 in ./anaconda3/lib/python3.11/site-packages (from pymongo) (2.6.1)
I import pymongo but when I want to run my code I code this message. What did do wrong ?
bixente is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.