google-research / mood-board-search

Apache License 2.0
142 stars 20 forks source link

An error in preparing metadata (setup.py) for scikit-learn==0.22.2 #5

Closed SmartIJD closed 1 year ago

SmartIJD commented 1 year ago

Hi, when I ran the command "pip install -r requirements.txt" to prepare metadata, I encountered the following error regarding the scikit-learn library. I installed alternative versions, but it didn't solve the problem. Are there any suggestions for a solution? I am using Python (v.3.9.12) on a Mac (OS 13). Thank you very much. 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.0b1, 0.15.0b2, 0.15.0, 0.15.1, 0.15.2, 0.16b1, 0.16.0, 0.16.1, 0.17b1, 0.17, 0.17.1, 0.18, 0.18.1, 0.18.2, 0.19b2, 0.19.0, 0.19.1, 0.19.2, 0.20rc1, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.20.4, 0.21rc2, 0.21.1, 0.21.2, 0.21.3, 0.22rc2.post1, 0.22rc3, 0.22, 0.22.1, 0.22.2.post1, 0.23.0rc1, 0.23.0, 0.23.1, 0.23.2, 0.24.dev0, 0.24.0rc1, 0.24.0, 0.24.1, 0.24.2, 1.0rc1, 1.0rc2, 1.0, 1.0.1, 1.0.2, 1.1.0rc1, 1.1.0, 1.1.1, 1.1.2, 1.1.3) ERROR: No matching distribution found for scikit-learn==0.22.2

Best Regards,

Yaliang

SmartIJD commented 1 year ago

I fixed this issue after installing Python 3.8.6.