tensor2tensor icon indicating copy to clipboard operation
tensor2tensor copied to clipboard

I got the errors about jaxlib when I was trying to install tensor2tensor on windows.

Open ys23 opened this issue 5 years ago • 3 comments

Hello I got the errors about jaxlib when I was trying to install tensor2tensor on windows. The error message was blow

ERROR: Could not find a version that satisfies the requirement jaxlib>=0.1.51 (from dopamine-rl->tensor2tensor) (from versions: none) ERROR: No matching distribution found for jaxlib>=0.1.51 (from dopamine-rl->tensor2tensor)

How can I solve these issues? Please help.

ys23 avatar Aug 11 '20 17:08 ys23

I encountered the same situation. It seems like #1507 haven't been solved. Please help.

tedcy avatar Aug 20 '20 02:08 tedcy

Hello tedcy I know only temporary solution. For installing tensor2tensor without jaxlib, you need to remove dopamine-rl from dependencies. Below is temporary solution. I continue to hope that it will be fixed normally but I don't anticipate it,,,,

  1. Instaling tensor2tensor without all dependencies. pip install --no-deps tensor2tensor

  2. Creating new requirements.txt that is removed dopamine-rl. Check the dependencies in tensor2tenosr/setup.py. https://github.com/tensorflow/tensor2tensor/blob/master/setup.py

  3. Installing remained libraries through requirements.txt. pip install -r requirements.txt

But it's not perfect solution. In your purpose, it will not work properly. Thanks.

ys23 avatar Aug 20 '20 06:08 ys23

Hello tedcy I know only temporary solution. For installing tensor2tensor without jaxlib, you need to remove dopamine-rl from dependencies. Below is temporary solution. I continue to hope that it will be fixed normally but I don't anticipate it,,,,

  1. Instaling tensor2tensor without all dependencies. pip install --no-deps tensor2tensor
  2. Creating new requirements.txt that is removed dopamine-rl. Check the dependencies in tensor2tenosr/setup.py. https://github.com/tensorflow/tensor2tensor/blob/master/setup.py
  3. Installing remained libraries through requirements.txt. pip install -r requirements.txt

But it's not perfect solution. In your purpose, it will not work properly. Thanks.

It works. Thank you.

tedcy avatar Aug 24 '20 02:08 tedcy