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