I have been trying to follow the basic Pymongo example: https://www.mongodb.com/blog/post/getting-started-with-python-and-mongodb for connecting to a MongoDB atlas cluster.
from pymongo import MongoClient
from pprint import pprint
client = MongoClient("'<<MongoDB URL>>’")
db = client.admin
serverstatus = db.command("serverStatus")
pprint(serverstatus)
Yet, with Conda and Windows 10, I continue to get the error:
File "C:\Users\name\miniconda3\lib\site-packages\pymongo\ssl_support.py", line 184, in get_ssl_context
raise ConfigurationError("The ssl module is not available.")
pymongo.errors.ConfigurationError: The ssl module is not available.
I have tried reinstalling conda yet it doesn't fix the issue, Which package could be lacking?