Closed zuoxingdong closed 8 years ago
Problem solved. With Ubuntu 16.04 and latest Anaconda, the following dependencies still needed to install.
xvfb libav-tools xorg-dev libsdl2-dev swig cmake
Just to comment, is it possible/reasonable to write a setup script that help the user to automatically check if all needed dependencies already installed and try to install all remaining ones automatically ?
Glad you figured it out. There's actually already a section in the gym README that lists dependencies to install. I just edited it to make it more prominent - lmk what you think.
@jietang Thanks a lot for the reply and the update of documentation. I guess this issue should be closed now.
@zuoxingdong Some problems under Anaconda Environment. As your suggestion, we should install libav-tools. But after I install libav-tools using sudo apt-get install libav-tools, it still does not work. Is there any other dependencies I need to install, such as cmake or something else. Thanks!
https://recordnotfound.com/gym-openai-119096 well done!
@Lebo-Wang If your machine is a fresh install, you might also have you install build-essential.
sudo apt-get install build-essential
README only lists dependencies for ubuntu 14.04, not 16.04
Most of the time when i want to use gym on a new system. I get the same error. The Wrapper(SWIG) that comes with the system is most probably working hence we get the following error..
unable to execute 'swig': No such file or directory error: command 'swig' failed with exit status 1
Hence i recommend updating swig
sudo apt-get install swig
Most of the time when i want to use gym on a new system. I get the same error. The Wrapper(SWIG) that comes with the system is most probably working hence we get the following error..
unable to execute 'swig': No such file or directory error: command 'swig' failed with exit status 1
Hence i recommend updating swig
sudo apt-get install swig
This worked for me! Btw I was trying to install
Lightning bolts extra
I am using Ubuntu 16.04, on latest version of Anaconda with all packages updated (e.g. Numpy 1.11 and cmake 3.3.1)
It has following errors when running pip install gym[all]