tensorflow / tensor2tensor

Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.
Apache License 2.0
15.5k stars 3.49k forks source link

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

Open ys23 opened 4 years ago

ys23 commented 4 years ago

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.

tedcy commented 4 years ago

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

ys23 commented 4 years ago

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.

tedcy commented 4 years ago

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.