Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to recreate working python environment to run this codebase using requirements.txt #42

Open
rutujagurav opened this issue Mar 21, 2023 · 5 comments

Comments

@rutujagurav
Copy link

Hello Authors,

For some reason I am unable to create a working python environment using the provided requirements.txt. Could you please test the environment requirements you provide?

For me the error me the main issue seems to be with a dependency of tensorflow_gan==2.0.0 called tensorflow_probability which defaults to 0.19.0 and seems to be incompatible with tensorflow==2.4.0. But even after downgrading tensorflow_probability, I don't get a stable environment that's able to run main.py.

Any insights would be appreciated.

henryaddison added a commit to henryaddison/mlde that referenced this issue Mar 21, 2023
@zq-OwO-qz
Copy link

Hello Authors,

For some reason I am unable to create a working python environment using the provided requirements.txt. Could you please test the environment requirements you provide?

For me the error me the main issue seems to be with a dependency of tensorflow_gan==2.0.0 called tensorflow_probability which defaults to 0.19.0 and seems to be incompatible with tensorflow==2.4.0. But even after downgrading tensorflow_probability, I don't get a stable environment that's able to run main.py.

Any insights would be appreciated.

Hello rutujagurav, I meet the same issue as yours. I can't built the environment for the ipynb file and tried for some days. Could you tell me how to do if you resolve it? Thank you so much.

@mengchuangji
Copy link

tensorflow 2.4.0 requires numpy~=1.19.2, but you have numpy 1.24.4 which is incompatible.
Successfully installed jax-0.2.8 jaxlib-0.4.13 numpy-1.24.4

@mengchuangji
Copy link

tensorflow 2.4.0 requires numpy~=1.19.2, but you have numpy 1.24.4 which is incompatible. Successfully installed jax-0.2.8 jaxlib-0.4.13 numpy-1.24.4

The conflict is caused by:
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.13 depends on numpy>=1.21
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.12 depends on numpy>=1.21
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.11 depends on numpy>=1.21
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.10 depends on numpy>=1.21
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.9 depends on numpy>=1.21
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.7 depends on numpy>=1.21
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.6 depends on numpy>=1.20
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.4 depends on numpy>=1.20
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.3 depends on numpy>=1.20
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.2 depends on numpy>=1.20
tensorflow-datasets 3.1.0 depends on numpy
tensorflow 2.4.0 depends on numpy~=1.19.2
tensorboard 2.4.0 depends on numpy>=1.12.0
torchvision 0.13.1 depends on numpy
tensorflow-probability 0.12.2 depends on numpy>=1.13.3
jax 0.2.8 depends on numpy>=1.12
jaxlib 0.4.1 depends on numpy>=1.20

@dinuowei
Copy link

i use this requierments
ml-collections==0.1.0
tensorflow-gan==2.0.0
tensorflow_io
tensorflow_datasets==3.1.0
tensorflow==2.4.0
tensorflow-addons==0.12.0
tensorboard==2.4.0
tensorflow-estimator==2.4.0
tensorflow-probability==0.12.2
absl-py==0.10.0
torch==1.8.0
torchvision
ninja
numpy==1.19.5
and cuda 11.1 but still show only support vs17-19 , for me my vs is 2022, so it is hard to test. if you can pls test it

@dinuowei
Copy link

tensorflow 2.4.0 requires numpy~=1.19.2, but you have numpy 1.24.4 which is incompatible. Successfully installed jax-0.2.8 jaxlib-0.4.13 numpy-1.24.4

The conflict is caused by: tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.13 depends on numpy>=1.21 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.12 depends on numpy>=1.21 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.11 depends on numpy>=1.21 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.10 depends on numpy>=1.21 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.9 depends on numpy>=1.21 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.7 depends on numpy>=1.21 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.6 depends on numpy>=1.20 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.4 depends on numpy>=1.20 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.3 depends on numpy>=1.20 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.2 depends on numpy>=1.20 tensorflow-datasets 3.1.0 depends on numpy tensorflow 2.4.0 depends on numpy~=1.19.2 tensorboard 2.4.0 depends on numpy>=1.12.0 torchvision 0.13.1 depends on numpy tensorflow-probability 0.12.2 depends on numpy>=1.13.3 jax 0.2.8 depends on numpy>=1.12 jaxlib 0.4.1 depends on numpy>=1.20

可以看一下我刚发的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants