To install the required modules run the following commands:
-
Install anaconda and update:
conda update conda -y
-
Source the bashrc
source ~/.bashrc
- Create a custom environment with conda
conda env create --name dmas python=3.6
- Source custom environment:
source activate dmas
- Install requirements:
pip install -e .
- Install cproj with :
conda install -c conda-forge proj
-
Install SUMO by using the SUMO documentation (Remember to link the SUMO binaries in your .bashrc).
-
Install Ray by following the instruction on ray and the ones on flow, using :
conda install libgcc
pip install cython==0.29.0
git clone https://github.com/ray-project/ray.git
# Install Bazel.
ray/ci/travis/install-bazel.sh
# Install Ray.
cd ray/python
pip install -e . --verbose # Add --user if you see a permission denied error.
- Install sumotools:
pip install https://akreidieh.s3.amazonaws.com/sumo/flow-0.4.0/sumotools-0.4.0-py3-none-any.whl
- Configure packages:
python setup.py install