Open saurabhkumar opened 4 years ago
I had the same problem, try doing it with pip3 instead of pip
Same problem in Ubuntu 20.04, pip3 produced the same error.
I had this error a while back with Ubuntu 20.04. After some research found a solution somewhere and you need to run before installing trax:
sudo apt-get install python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev libfreetype6-dev
Then
pip install trax
Hope this helps.
Description
I am unable to install trax using pip in an Ubuntu18.04 VM (windows10 host). It could not install tensorflow>=2.2 on the default python (3.6.9). So I installed Python3.8. But then i get errors with tensorflow addons (tensor2tensor->trax==1.3.1). Then i tried with Python3.7.5. I still get the same error as above.
A documentation of the minimum required environment would be helpful.
Environment information
OS: Ubuntu 18.04 VM (virtualbox) on Windows10 host
$ pip freeze | grep trax
your output here
$ pip freeze | grep tensor
your output here
$ pip freeze | grep jax
your output here
$ python -V
your output here
Steps to reproduce:
...
Error logs:
...