I’m trying to work with the Motor driver with Asyncio in connecting to Atlas. When I follow the official guide and use my Atlas connection string I get the following error:
pymongo.errors.ConfigurationError: The "dnspython" module must be installed to use mongodb+srv:// URIs. To fix this error install pymongo with the srv extra: /path/to/virtualenvs/PK76f_xS/bin/python -m pip install "pymongo[srv]"
I don’t have PyMongo installed because I’m using Motor so I’m confused as to why I need to install it to use Motor. Am I doing something wrong or is this error and subsequent installation required to work with Motor and Asyncio?