-
Notifications
You must be signed in to change notification settings - Fork 76
1. Install
pip3 install --upgrade pip
pip3 install git+https://github.com/Healthcare-Robotics/assistive-gym.git
We recommend using Python 3.6 (although other Python 3.x versions may still work). You can either download Python 3.6 here, or use pyenv to install Python 3.6 in a local directory, e.g. pyenv install 3.6.5; pyenv local 3.6.5
We encourage installing Assistive Gym in a python virtualenv.
NOTE: If you are not using a python virtual environment, you can replace pip3
with python3 -m pip install
for easier installations.
python3 -m pip install virtualenv
python3 -m venv env
source env/bin/activate
pip3 install --upgrade pip
git clone https://github.com/Healthcare-Robotics/assistive-gym.git
cd assistive-gym
pip3 install -e .
Once Assistive Gym is installed, you can test out various Assistive Gym environments. A full list of all environments provided in Assistive Gym can be found Here.
python3 -m assistive_gym --env "FeedingJaco-v1"
Assistive Gym is fully supported in Google Colab (online Python Jupyter notebook). Click on the link above for an example. Everything runs online, so you won't need to install anything on your local machine!
All of the available Google Colab examples are listed on the Wiki-Google Colab.
- Install Python 3.6.8 at: https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe
- Install git: https://git-scm.com/download/win
- Install Microsoft visual c++ build tools: https://www.microsoft.com/en-us/download/details.aspx?id=48159
- Install c++ build tools for visual studio: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019
-- during installation, click on the "C++ build tools" checkbox.
Then, run the following commands in a command prompt
mkdir git
cd git
python -m pip install --user virtualenv
python -m venv env
env\Scripts\activate
pip install --upgrade setuptools pip
git clone https://github.com/Healthcare-Robotics/assistive-gym.git
cd assistive-gym
pip install -e .