Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problem #56

Open
chaitanya-kolliboyina opened this issue Sep 8, 2022 · 3 comments
Open

Installation problem #56

chaitanya-kolliboyina opened this issue Sep 8, 2022 · 3 comments

Comments

@chaitanya-kolliboyina
Copy link

when tried to install with pip in virtual environment, it throws an error as below.

pip install ml_metrics
Collecting ml_metrics
Using cached ml_metrics-0.1.4.tar.gz (5.0 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in ml_metrics setup command: use_2to3 is invalid.
[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.

@qanastek
Copy link

Same for me

@chita216
Copy link

pip install --upgrade pip "setuptools<58.0"

Run this before installing ml_metrics. I tried and it worked.

Source: LINK

@qanastek
Copy link

qanastek commented Apr 6, 2023

Thank you @chita216.
I do:

pip install --upgrade pip "setuptools<58.0"
pip install ml_metrics --upgrade

And it's works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants