Please follow the readme instructions to install Highway Environment.
An episode of one of the environments available in highway-env
Highway environment is constructed in as a Gym wrapper. For detailed information about the environment, please refer to the official documentation. Additionally you can find the source code.
- prepare Ubuntu
sudo apt-get update -y
sudo apt-get install -y python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev libfreetype6-dev gcc
- install highway-environment
pip install highway-env==1.5
- register custom environment wrapper class
cd highway_environment/highway_environment
python create_env.py
- install custom highway environment globally
cd highway_environment
python setup.py install
NOTE: make sure that after each update of Environment class, environment installation has to be performed again.