Unable to install sleap in Google Colab: "× Preparing metadata (pyproject.toml) did not run successfully." #2124
-
Hi, I tried multiple ways, following the installation guide here, creating an environment as mentioned here and upgrading the setuptool wheels. Everytime I get the following error:
Maybe I am missing something obvious? It would be great if someone could nudge me in the right direction:) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Johanna-Ott !! Colab recently updated their python to 3.11 which requires scipy > 1.9. However, for our package we use python 3.7.12 which supports scipy <= 1.9 (we pinned the version to resolve dependency conflicts). We could get past the scipy dependency however, there would again be a conflict with tensorflow with the latest python version. You could try creating a virtual env in colab with python v3.7.12 (it's a bit tricky but might work) Thanks, Divya |
Beta Was this translation helpful? Give feedback.
Hi @Johanna-Ott !!
Colab recently updated their python to 3.11 which requires scipy > 1.9. However, for our package we use python 3.7.12 which supports scipy <= 1.9 (we pinned the version to resolve dependency conflicts). We could get past the scipy dependency however, there would again be a conflict with tensorflow with the latest python version. You could try creating a virtual env in colab with python v3.7.12 (it's a bit tricky but might work)
Thanks,
Divya