-
Notifications
You must be signed in to change notification settings - Fork 7
How to install
ARAKAWA, Naoya edited this page Dec 2, 2019
·
1 revision
Some of the packages described below may require other packages to be installed in advance.
See the documentation for packages.
For more information, see Readme.
git clone https://github.com/wbap/PyLIS.git
cd PyLIS
python3 -m venv venv
source venv/bin/activate
pip install numpy
pip install gym
pip install pybullet
# You may need to install prerequisites.
# See https://www.tensorflow.org/install/pip for more details.
pip install tensorflow==1.14 \# or tensorflow-gpu
# You may need to install prerequisites.
# See https://github.com/hill-a/stable-baselines\#installation for more details.
pip install stable-baselines
git clone https://github.com/ToyotaResearchInstitute/hsr\_meshes.git
cp -rp hsr\_meshes venv/lib/python3.7/site-packages/pybullet\_data
cp -p gym-foodhunting/urdf/hsrb4s.urdf venv/lib/python3.7/site-packages/pybullet\_data
# If you want to use original URDF file by TRI,
# git clone https://github.com/ToyotaResearchInstitute/hsr\_description.git
# cp -p hsr\_description/robots/hsrb4s.urdf venv/lib/python3.7/site-packages/pybullet\_data
cp -p gym-foodhunting/urdf/r2d2.urdf venv/lib/python3.7/site-packages/pybullet\_data
cp -p gym-foodhunting/urdf/food\_sphere.urdf venv/lib/python3.7/site-packages/pybullet\_data
cp -p gym-foodhunting/urdf/food\_cube.urdf venv/lib/python3.7/site-packages/pybullet\_data
cd gym-foodhunting
pip install -e .
cd ..
For more information, see PyLIS/gym-foodhunting/README.md.
pip uninstall gym-foodhunting
pip uninstall stable-baselines
pip uninstall pybullet
pip uninstall gym
pip uninstall numpy
# or just remove venv directory.