Open chaitanya-kolliboyina opened 2 years ago
Same for me
pip install --upgrade pip "setuptools<58.0"
Run this before installing ml_metrics. I tried and it worked.
Source: LINK
Thank you @chita216. I do:
pip install --upgrade pip "setuptools<58.0"
pip install ml_metrics --upgrade
And it's works!
when tried to install with pip in virtual environment, it throws an error as below.
× 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.