Environment Setup Reference

November 26, 2019 ยท View on GitHub

Anaconda

Create a super-mario-rl conda environment provisioned with all libraries to run this program:

conda env create -f environment-gpu.yml

Note: if you don't have access to a gpu, then run environment.yml

Verify super-mario-rl environment exists in your environments:

conda info --envs

Cleanup downloaded libraries (remove tarballs, zip files, etc):

conda clean -tp

Activate the super-mario-rl environment:

conda activate super-mario-r1

If you install new packages into your anaconda environment, export your environment:

(super-mario-rl) % conda env export --file environment.yml

This will make your work reproducible for others.

Deactivate the super-mario-rl environment:

conda deactivate

Remove super-mario-rl environment:

conda remove --name super-mario-rl --all

Anaconda Further Reading