ConfigurationError: The "dnspython" module must be installed to use mongodb+srv:// URIs

C++
$ python -m pip install pymongo

Source

Also in C++: