Open TomTHChen opened 9 months ago
pip install scikit-learn
does it work?
I'm also having this error
in setup.py replace sklearn with scikit-learn
diff --git a/setup.py b/setup.py
index cd221e1..2a6c564 100644
--- a/setup.py
+++ b/setup.py
@@ -173,7 +173,7 @@ if __name__ == "__main__":
"seaborn",
"pandas",
"lvis",
- "sklearn",
+ "scikit-learn",
],
extras_require={
"all": [
I ran the following command: pip install -e cvpods --user
Actual results: ... Downloading sklearn-0.0.post12.tar.gz (2.6 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [15 lines of output] The 'sklearn' PyPI package is deprecated, use 'scikit-learn' rather than 'sklearn' for pip commands.
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.