The "dnspython" module must be installed to use mongodb+srv:// URI 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