Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.5
-
None
-
3.10
Description
$ .venv/bin/pip install mariadb_connector
|
ERROR: Could not find a version that satisfies the requirement mariadb_connector (from versions: none)
|
ERROR: No matching distribution found for mariadb_connector
|
|
[notice] A new release of pip available: 22.2.2 -> 22.3.1
|
[notice] To update, run: python -m pip install --upgrade pip
|
[classic@photon3 foo]$ .venv/bin/pip install mariadb
|
Collecting mariadb
|
Using cached mariadb-1.1.5.tar.gz (81 kB)
|
Preparing metadata (setup.py) ... error
|
error: subprocess-exited-with-error
|
|
× python setup.py egg_info did not run successfully.
|
│ exit code: 1
|
╰─> [8 lines of output]
|
Traceback (most recent call last):
|
File "<string>", line 2, in <module>
|
File "<pip-setuptools-caller>", line 34, in <module>
|
File "/tmp/pip-install-lb9lm_ca/mariadb_c78264fab1f14852adee3c7ed0aa3b28/setup.py", line 12, in <module>
|
from mariadb_posix import get_config
|
File "/tmp/pip-install-lb9lm_ca/mariadb_c78264fab1f14852adee3c7ed0aa3b28/mariadb_posix.py", line 4, in <module>
|
from packaging import version
|
ModuleNotFoundError: No module named 'packaging'
|
[end of output]
|
|
note: This error originates from a subprocess, and is likely not a problem with pip.
|
error: metadata-generation-failed
|
|
× Encountered error while generating package metadata.
|
╰─> See above for output.
|
|
note: This is an issue with the package mentioned above, not pip.
|
hint: See above for details.
|
|