JOSS Review: Google Colab (Python 3.8) -- `Could not find a version that satisfies the requirement scipy==1.7.1`
Closed this issue · 4 comments
Not really an issue since the documentation says to use Python 3.9, but I figured I'd mention it still.
!./scripts/setup_dev_env.sh
ERROR: Ignored the following versions that require a different python version: 1.0.1 Requires-Python >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3,!=3.4.*,<3.9; 1.1.0 Requires-Python >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<3.9; 1.1.1 Requires-Python >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<3.9; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.0rc1 Requires-Python >=3.7,<3.10; 1.7.0rc2 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.9.5 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.7
ERROR: Could not find a version that satisfies the requirement scipy==1.7.1 (from versions: 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.7.2, 1.7.3, 1.8.0rc1, 1.8.0rc2, 1.8.0rc3, 1.8.0rc4, 1.8.0, 1.8.1, 1.9.0rc1, 1.9.0rc2, 1.9.0rc3, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0rc1, 1.10.0rc2, 1.10.0, 1.10.1)
ERROR: No matching distribution found for scipy==1.7.1
As you said, not sure if this is an issue. We requiring 3.9 because some dependencies (and recently our own code) rely on it. Anyhow, we plan to wrap the setup_dev_env.sh
and pip install nomad-lab
use-cases into continuously run tasks on the CI/CD. Once this is done, I'll probably close this issue.
But even on a newer Colab with Python 3.10.x you still run into a view conflicts because Colab itselfs has some incompatible version requirements (e.g. on the requests
library). We can test some more and hopefully provide a Colab solution. But #68 has to be solved first.
Just so GitHub knows - this is related to: openjournals/joss-reviews#5388
We just released nomad-lab==1.2.0. This can also be installed on google colab. Here is an example notebook: https://colab.research.google.com/drive/1Zlf24eAxFiqtIGbp5NLm66vQR8QPt3AM?usp=sharing