This must be an old installation since I tried to follow the directions explicitly and got this message:
ERROR: Cannot install -r ./requirements.txt (line 11), -r ./requirements.txt (line 12), -r ./requirements.txt (line 2), -r ./requirements.txt (line 3), -r ./requirements.txt (line 4), -r ./requirements.txt (line 8), chex, numpy==1.19.5 and tensorflow because these package versions have conflicting dependencies.
requiremnets.txt says
absl-py==0.13.0
biopython==1.79
chex==0.0.7
dm-haiku==0.0.4
dm-tree==0.1.6
docker==5.0.0
immutabledict==2.0.0
jax==0.2.14
ml-collections==0.1.0
numpy==1.19.5
scipy==1.7.0
tensorflow==2.5.1
The conflict is caused by:
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.13 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.12 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.11 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.10 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.9 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.7 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.6 depends on numpy>=1.20
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.4 depends on numpy>=1.20
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.3 depends on numpy>=1.20
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.2 depends on numpy>=1.20
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.1 depends on numpy>=1.20
Can this be updated to let pip decide to resolve dependencies?
This must be an old installation since I tried to follow the directions explicitly and got this message:
ERROR: Cannot install -r ./requirements.txt (line 11), -r ./requirements.txt (line 12), -r ./requirements.txt (line 2), -r ./requirements.txt (line 3), -r ./requirements.txt (line 4), -r ./requirements.txt (line 8), chex, numpy==1.19.5 and tensorflow because these package versions have conflicting dependencies.
requiremnets.txt says
absl-py==0.13.0
biopython==1.79
chex==0.0.7
dm-haiku==0.0.4
dm-tree==0.1.6
docker==5.0.0
immutabledict==2.0.0
jax==0.2.14
ml-collections==0.1.0
numpy==1.19.5
scipy==1.7.0
tensorflow==2.5.1
The conflict is caused by:
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.13 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.12 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.11 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.10 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.9 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.7 depends on numpy>=1.21
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.6 depends on numpy>=1.20
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.4 depends on numpy>=1.20
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.3 depends on numpy>=1.20
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.2 depends on numpy>=1.20
The user requested numpy==1.19.5
biopython 1.79 depends on numpy
chex 0.0.7 depends on numpy>=1.18.0
dm-haiku 0.0.4 depends on numpy>=1.18.0
jax 0.2.14 depends on numpy>=1.12
scipy 1.7.0 depends on numpy<1.23.0 and >=1.16.5
tensorflow 2.5.1 depends on numpy~=1.19.2
h5py 3.1.0 depends on numpy>=1.17.5; python_version == "3.8"
jaxlib 0.4.1 depends on numpy>=1.20
Can this be updated to let pip decide to resolve dependencies?