bm2-lab / scMVP

MIT License
28 stars 11 forks source link

scikit-learn installation #10

Open ZOBednar opened 3 weeks ago

ZOBednar commented 3 weeks ago

I am currently trying to run the python setup.py install and keep running into problems with the scikit-learn package:

Searching for scikit-learn==0.22.2 Reading https://pypi.org/simple/scikit-learn/ No local packages or working download links found for scikit-learn==0.22.2 error: Could not find suitable distribution for Requirement.parse('scikit-learn==0.22.2') I was wondering if you meant the "scikit-learn==0.22.2.post1" version instead as scikit-learn==0.22.2 does not seem to exist;

ERROR: Could not find a version that satisfies the requirement scikit-learn==0.22.2 (from versions: 0.9, 0.10, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.14, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.17, 0.17.1, 0.18, 0.18.1, 0.18.2, 0.19.0, 0.19.1, 0.19.2, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.20.4, 0.21.1, 0.21.2, 0.21.3, 0.22, 0.22.1, 0.22.2.post1, 0.23.0, 0.23.1, 0.23.2, 0.24.0, 0.24.1, 0.24.2, 1.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0rc1, 1.2.0, 1.2.1, 1.2.2, 1.3.0rc1, 1.3.0, 1.3.1, 1.3.2, 1.4.0rc1, 1.4.0, 1.4.1.post1, 1.4.2, 1.5.0rc1, 1.5.0, 1.5.1, 1.5.2)

Thank you so much for your help.

adamtongji commented 3 weeks ago

I try to install both "scikit-learn==0.22.2" and "scikit-learn==0.22.2.post1" with pip on our server with the default pip mirror, and both versions are available. The "scikit-learn==0.22.2.post1" version is also compatible to our software, and you can use this version if available.

截屏2024-10-29 07 41 30