ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
203 stars 131 forks source link

🐛 Bug: Model eos4e41 - ERROR: No matching distribution found for scikit-learn==0.22.2 #405

Closed natividadesusana closed 1 year ago

natividadesusana commented 1 year ago

Describe the bug.

I successfully installed ersilia until I encountered these errors when running the eos9be7 model. On ersilia -v fetch eos4e41 I got warnings and error:

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)
ERROR: No matching distribution found for scikit-learn==0.22.2

Describe the steps to reproduce the behavior

  1. conda activate ersilia
  2. ersilia -v fetch eos4e41 Error:

Expected behavior.

Fetch the model.

Screenshots.

Captura de Tela 2022-10-20 às 16 45 04

Operating environment

MacOS M1

Additional context

All steps of Ersilia Model Hub successfully installed.

Zainab-ik commented 1 year ago

@natividadesusana There are 2 instances for this error, either an internet connection or a pip package needs updating. I suggest you rerun the process all over again in a new terminal and check your pip version using pip --version. i believe @GemmaTuron can do justice to the issue

GemmaTuron commented 1 year ago

Hi @natividadesusana

I need the full log of the error to be able to provide support. Thanks

ZakiaYahya commented 1 year ago

@natividadesusana if you get the pip version error too along with this error then follow the below steps, Do this inside the ersilia environment, sudo apt-get update sudo apt-get upgrade sudo apt install python3-pip pip3 --version after that deactivate the ersilia conda environment & rerun the terminal. I hope this works for u too.

GemmaTuron commented 1 year ago

Hi @natividadesusana,

I see in issue #411 that you have trouble in ersilia's installation itself, so I'm gonna close this issue until #411 is solved and then we can go onto testing models

natividadesusana commented 1 year ago

Right!! Thank you!!