Installation with Anaconda - COHRINT/core_tools GitHub Wiki
We use Anaconda as a package manager.
Installing Anaconda
Follow the instructions here: http://docs.continuum.io/anaconda/install
Say yes when it asks if you want to add Anaconda to your .bashrc path. This will allow you to type "conda" in your terminal, without having to be in conda's bin folder. If you didn't, or don't have permission to do it, you can add this line to your ~/.bashrc file later (use sudo nano ~/.bashrc to open it):
export PATH="/home/username/anaconda/bin:$PATH"
Be sure to take the conda test drive.
Small Hack
This adds the system python packages to the root conda environment
conda develop /usr/lib/python2.7/dist-packages
Adding github repositories
Create a directory to work from. Inside, clone each git repo you need. To add a repo to python path, use
conda develop 'PATH/TO/ADD'
For example,
cd /home/matt/
mkdir code
cd code
git clone https://github.com/COHRINT/cops_and_robots.git
git clone https://github.com/COHRINT/cohrint_core.git
# Activate the virtual environment
source activate cops_and_robots
conda develop "/home/matt/code/cops_and_robots_ros/src" # For Cops and Robots experiment code
conda develop "/home/matt/code" # For Cohrint Core code