Unable to pip install trax on local computer
Description
I was trying to pip install trax on my local computer but I am unable to complete the installation due to some errors.
Environment information
OS: Windows 10
Version 1909
OS Build 18363.628
$ pip freeze | grep tensor
-
$ pip freeze | grep jax
-
$ python -V
Python 3.7.4
For bugs: reproduction and error logs
# Steps to reproduce:
...
Open CMD and run pip install trax
# Error logs:
...
Collecting trax
Using cached trax-1.2.2-py2.py3-none-any.whl (311 kB)
Collecting jax
Using cached jax-0.1.58.tar.gz (262 kB)
Requirement already satisfied: numpy in c:\users\yuqua\appdata\local\programs\python\python37\lib\site-packages (from tr
ax) (1.18.1)
Requirement already satisfied: scipy in c:\users\yuqua\appdata\local\programs\python\python37\lib\site-packages (from tr
ax) (1.4.1)
Collecting gin-config
Using cached gin_config-0.3.0-py3-none-any.whl (44 kB)
Collecting funcsigs
Using cached funcsigs-1.0.2-py2.py3-none-any.whl (17 kB)
Requirement already satisfied: absl-py in c:\users\yuqua\appdata\local\programs\python\python37\lib\site-packages (from
trax) (0.9.0)
Collecting tensorflow-datasets
Using cached tensorflow_datasets-2.0.0-py3-none-any.whl (3.1 MB)
Collecting tensor2tensor
Using cached tensor2tensor-1.15.4-py2.py3-none-any.whl (1.4 MB)
Requirement already satisfied: six in c:\users\yuqua\appdata\local\programs\python\python37\lib\site-packages (from trax
) (1.12.0)
Collecting gym
Using cached gym-0.15.6.tar.gz (1.6 MB)
ERROR: Could not find a version that satisfies the requirement jaxlib (from trax) (from versions: none)
ERROR: No matching distribution found for jaxlib (from trax)
seems like you need to install jax & jaxlib
pip install --upgrade pip pip install --upgrade jax jaxlib
You can refer https://github.com/google/jax
Yes. To run jax on GPU sometimes requires a separate whl file, so it's not fully doable with pip setup, sorry about that!
@lukaszkaiser I am trying to install it on Mac with M1 chip but getting an error. ERROR: Could not find a version that satisfies the requirement jaxlib (from versions: none) ERROR: No matching distribution found for jaxlib
Doesnt seem to install on windows because of jaxlib. What do I do?