Hello
I do a transfer of a python script from a server to another and i get this error:
ModuleNotFoundError: No module named ‘pymongo.server_api’
Pymongo is installed
Do you know why i got that?
Hello
I do a transfer of a python script from a server to another and i get this error:
ModuleNotFoundError: No module named ‘pymongo.server_api’
Pymongo is installed
Do you know why i got that?
Is it the same pymongo version and MongoDB version? The server_api is a newer feature with v5.0 and new in pymongo 3.12 so maybe you need to update?
https://pymongo.readthedocs.io/en/stable/api/pymongo/server_api.html
Okay thanks men !
Its strange because this pymongo was installed yesterday lmao
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.