-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Welcome to the perls2 wiki! If you're new to perls2, start here
PERLS2 only supports python3.6+ for the core libraries (python 2.7 is used for interfacing to robots that use ROS.) PERLS2 only supports ubuntu 16.04 and later.
-
Clone and install PERLs repo
-
Clone repo:
git clone https://github.com/StanfordVL/perls2.git
-
Create a virtual environment, e.g.
virtualenv -p python3.6 perls2env
-
Source your virtual environment e.g.
source perls2env/bin/activate
-
Go to the perls2 directory and install requirements
cd ~/perls2
pip install -r requirements.txt
- You could get an error like
error: numpy 1.11.0 is installed but numpy>=1.11.1 is required by set(['opencv-python'])
. In that case you may want to force to install the right version of numpy:pip install --upgrade --force-reinstall numpy
- You could get an error like
-
Install perls2
pip install -e .
-
-
For projects, in the config file change the
data_dir
key to the filepath for the perls2 data folder.
Check out the demos in the examples folder. Intructions for each demo may be found in the README in each folder.
cd ~/perls2/
python examples/simple_reach/run_simple_reach.py