Details
-
Bug
-
Status: Closed
-
Unknown
-
Resolution: Fixed
-
None
-
None
-
None
Description
Today, when I installed motor 2.3.0 with the command
conda install motor
|
It also installed pymongo 4.0 that is incompatible with motor.
It crashed with the following error:
Traceback (most recent call last):
|
...
|
File "/opt/conda/envs/doogle_server/lib/python3.9/site-packages/motor/__init__.py", line 35, in <module> |
from .motor_tornado import * |
File "/opt/conda/envs/doogle_server/lib/python3.9/site-packages/motor/motor_tornado.py", line 17, in <module> |
from . import core, motor_gridfs |
File "/opt/conda/envs/doogle_server/lib/python3.9/site-packages/motor/core.py", line 27, in <module> |
import pymongo.mongo_replica_set_client |
ModuleNotFoundError: No module named 'pymongo.mongo_replica_set_client' |
I solve it (as a workaround) by using the pipy package (2.5.0) that pinned the pymongo version
pip install motor
|
I think it worth adding the latest motor releases to conda channel to avoid such an issue
Thank you
Attachments
Issue Links
- related to
-
MOTOR-626 conda-forge recipe is unmaintained
-
- Closed
-
- links to