-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Detailed steps to reproduce the problem?
- Step 1: Go to MongoDB Atlas and select Python as the driver and Version 3.12 or later.
- Step 2: Copy the generated pip install command suggested by the Atlas UI.
- Step 3: The following command:
python -m pip install "pymongo[srv]"==3.12
- Step 4: Encounter the error:
ERROR: Invalid requirement: '==3.12': Expected package name at the start of dependency specifier
Definition of done: what must be done to consider the task complete?
- The issue can be considered done when the pip install command generated by Atlas is corrected in the UI and no longer results in the error.
The exact Python version used, with patch level:
Python 3.12.6
The exact version of PyMongo used, with patch level:
Not applicable — PyMongo installation failed due to incorrect pip syntax.
Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.
- MongoDB Setup: MongoDB Atlas (hosted).
- Topology: Clustered.
The operating system and version (e.g. Windows 7, OSX 10.8, ...)
- Operating System: Windows 11 .
Web framework or asynchronous network library used, if any, with version (e.g. Django 1.7, mod_wsgi 4.3.0, gevent 1.0.1, Tornado 4.0.2, ...)
- None