pymongo without dnspythong code example Example: ConfigurationError: The "dnspython" module must be installed to use mongodb+srv:// URIs $ python -m pip install pymongo