You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering unexpected behavior when trying to install the ConfigSpace library using pip in a clean Docker environment with Ubuntu 22.04 and ROS 2 (Humble) installed. The installation fails after displaying warnings about mismatched package/root metadata filenames.
The installer appears to discard recent versions and continues to backtrack to older versions, eventually stopping at version 0.6.1, which then fails to install.
I followed suggestions like this Stack Overflow post, but the issue persists—no version of ConfigSpace is successfully installed.
Is there any way to avoid having to install the package inside a virtual environment (venv)?
Logs:
Below is the full log output when attempting to install ConfigSpace:
Collecting configSpace
Downloading configspace-1.2.1.tar.gz (130 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 131.0/131.0 KB 7.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
WARNING: Generating metadata for package configSpace produced metadata for project name unknown. Fix your #egg=configSpace fragments.
Discarding https://files.pythonhosted.org/packages/0e/bc/2a53b259ec14101a42690992ea8fc2456edcacc73ede62f803dd3c4b0bdc/configspace-1.2.1.tar.gz#sha256=2fc1c4477f7839d38b53d8813c2581967df57ccd7d8b4b506e879a8835cb964c (from https://pypi.org/simple/configspace/) (requires-python:>=3.8): Requested unknown from https://files.pythonhosted.org/packages/0e/bc/2a53b259ec14101a42690992ea8fc2456edcacc73ede62f803dd3c4b0bdc/configspace-1.2.1.tar.gz#sha256=2fc1c4477f7839d38b53d8813c2581967df57ccd7d8b4b506e879a8835cb964c has inconsistent name: filename has 'configspace', but metadata has 'unknown'
The text was updated successfully, but these errors were encountered:
SamueleSandrini
changed the title
Issues with metadata during package installation using pip in clean Docker environment
Package installation issues with pip in clean Docker environment
Nov 22, 2024
Interesting, I've never come across this but I can look into it for sure. I've only ever installed this inside a virtual environment but there's no reason it shouldn't work outside of one.
I can look into it but I imagine the issue is related to some packing configuration that could be easily fixed if we knew what the issue was. I will take some time to look into it!
I am encountering unexpected behavior when trying to install the
ConfigSpace
library usingpip
in a clean Docker environment with Ubuntu 22.04 and ROS 2 (Humble) installed. The installation fails after displaying warnings about mismatched package/root metadata filenames.The installer appears to discard recent versions and continues to backtrack to older versions, eventually stopping at version 0.6.1, which then fails to install.
I followed suggestions like this Stack Overflow post, but the issue persists—no version of
ConfigSpace
is successfully installed.Is there any way to avoid having to install the package inside a virtual environment (venv)?
Steps to Reproduce:
Logs:
Below is the full log output when attempting to install ConfigSpace:
The text was updated successfully, but these errors were encountered: