Open ljm8001 opened 6 months ago
Trying with another clean conda (version 2023.03-01, conda23.3.1, python3.10.9), and delete '==0.4.26' after jax[cpu], then I found paxml and praxis conflicting.
INFO: pip is looking at multiple versions of lingvo to determine which version is compatible with other requirements. This could take a while.
The conflict is caused by:
paxml 1.4.0 depends on seqio-nightly==0.0.17.dev20231010
paxml 1.3.1 depends on seqio-nightly
paxml 1.3.0 depends on seqio-nightly
paxml 1.2.0 depends on seqio-nightly
paxml 1.1.0 depends on tfds-nightly==4.8.3.dev202303280045
The user requested praxis
paxml 1.0.0 depends on praxis==1.0.0
paxml 0.4.0 depends on tfds-nightly==4.8.3.dev202303280045
paxml 0.2.1 depends on seqio-nightly
paxml 0.2.0 depends on seqio-nightly
paxml 0.1 depends on seqio-nightly
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
yes same issue here
same issue
Add some changes to environment_cpu.yml
- pip:
- tfds_nightly-4.8.3.dev202303280045-py3-none-any.whl
- seqio_nightly-0.0.17.dev20231010-py3-none-any.whl
- huggingface_hub[cli]
- utilsforecast
- praxis
- paxml
- jax[cpu]
- einshape
The whl files can be downloaded from pypi.org. I'm not sure what will happen since I deleted the jax version constrainsts, but anyway I can import timesfm now. Further test needed for sure.
what python version you are using. same problem exists
the same issue for me, I am almost crazy, who can import timetfm successfully.
Add some changes to environment_cpu.yml
- pip: - tfds_nightly-4.8.3.dev202303280045-py3-none-any.whl - seqio_nightly-0.0.17.dev20231010-py3-none-any.whl - huggingface_hub[cli] - utilsforecast - praxis - paxml - jax[cpu] - einshape
The whl files can be downloaded from pypi.org. I'm not sure what will happen since I deleted the jax version constrainsts, but anyway I can import timesfm now. Further test needed for sure.
This works for me. Currently the best solution.
Pip failed on Centos7 when creating cpu version. Looks like conficting dependencies about jax version.