Closed japneet644 closed 5 years ago
Hi @japneet644 , Have you managed to issue that problem? I think it will be easier to use Docker to install Roboschool as well as other packages. If you would like, I will try to submit a Pull request with the installation of Roboschool + other packages (it depends on your need). Thanks.
the binary wheel should work for ubuntu 18.04; so the installation should now be as simple as pip install roboschool
. Closing this.
Hi @japneet644 , Have you managed to issue that problem? I think it will be easier to use Docker to install Roboschool as well as other packages. If you would like, I will try to submit a Pull request with the installation of Roboschool + other packages (it depends on your need). Thanks.
I have the same issue when i install roboschool by pip install, like "ImportError: cannot import name 'cpp_household'"
@hzm2016 could you specify OS version, and roboschool version (e.g. output of pip freeze | grep roboschool
)?
@hzm2016 could you specify OS version, and roboschool version (e.g. output of
pip freeze | grep roboschool
)?
@pzhokhov thanks a lot, my cluster version HP Xeon two sockets 12-Core 64-bit Linux cluster, CentOS 6, and roboschool version==1.0.48
ooofff roboschool wheels are not available for centos :( You can try to compile it from source, as described here: https://github.com/openai/roboschool#installation-from-source
ooofff roboschool wheels are not available for centos :( You can try to compile it from source, as described here: https://github.com/openai/roboschool#installation-from-source
@pzhokhov , I have tried, folllow this .sh apt install unzip cmake ffmpeg pkg-config qtbase5-dev libqt5opengl5-dev libassimp-dev libpython3.5-dev libboost-python-dev libtinyxml-dev git clone https://github.com/openai/roboschool.git roboschool_lib git clone https://github.com/olegklimov/bullet3 -b roboschool_self_collision export ROBOSCHOOL_PATH=/workspace/roboschool_lib mkdir bullet3/build cd bullet3/build cmake -DBUILD_SHARED_LIBS=ON -DUSE_DOUBLE_PRECISION=1 -DCMAKE_INSTALL_PREFIX:PATH=$ROBOSCHOOL_PATH/roboschool/cpp-household/bullet_local_install -DBUILD_CPU_DEMOS=OFF -DBUILD_BULLET2_DEMOS=OFF -DBUILD_EXTRAS=OFF -DBUILD_UNIT_TESTS=OFF -DBUILD_CLSOCKET=OFF -DBUILD_ENET=OFF -DBUILD_OPENGL3_DEMOS=OFF .. make -j4 make install cd ../.. pip install -e $ROBOSCHOOL_PATH
but I met the same error. "cann't import name cpp_household"
I have been trying to make it work for a while, but with not a whole lot of success. Thing is, both bullet and qt5 require c++11 compiler, and by default, to my understanding, centos 6 ships with gcc 4.4 which is not c++11 compatible. While that does not mean installing roboschool on centos 6 is impossible, it is be rather painful. So far, I managed to compile gcc 4.8 on centos 6 docker image (whew, only took half a day) by loosely following the instructions here: https://wiki.qt.io/How_to_Install_Qt_5_and_Qwt_on_CentOS_6
however, qt5 with opengl support on centos 6 is something I have not figured out how to do. if you manage to install that on centos 6, the rest should fall in line :)
I am beginner in RL. during installation I am getting the following error when i run
sudo apt install cmake ffmpeg pkg-config qtbase5-dev libqt5opengl5-dev libassimp-dev libpython3.5-dev libboost-python-dev libtinyxml-dev
Error message
Please help me. I am already fed up of this installation procedure