Answer the question
In order to leave comments, you need to log in
How to fix pymongo import error?
Hello,
when importing a module, pymongo gives an error:
File "..../python2.7/site-packages/flask_pymongo/__init__.py", line 37, in
from pymongo.read_preferences import ReadPreference
ImportError: No module named read_preferences
What is the module And what package does it come with?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question