Skip to content

Instantly share code, notes, and snippets.

@adrianseeley
Last active July 28, 2022 21:45
Show Gist options
  • Save adrianseeley/c7cb3f5bf0f4aec2258a95430847e1e3 to your computer and use it in GitHub Desktop.
Save adrianseeley/c7cb3f5bf0f4aec2258a95430847e1e3 to your computer and use it in GitHub Desktop.
Python Open AI Gym Ubuntu Setup
sudo apt-get update
sudo apt-get install python3.6
sudo apt install python3-pip
sudo apt-get -y install cmake
sudo apt install zlib1g-dev
sudo apt-get install p7zip-full
pip3 install numpy
pip3 install sklearn
pip3 install gym
pip3 install gym[Box2D]
pip3 install gym[atari]
pip3 install matplotlib
make sure to use python3 and pip3
7z e filename.zip # extract file
7z a zipname.zip directoryToZip -mx9 -t7z # compress a directory with max settings in 7z format
wget URL # download file to ec2 from web
scp -i "personalaws.pem" [email protected]:FILEPATHONEC2 . # download file from ec2 to local machine
@jnesfield
Copy link

fyi; atari will not work w/o some specific version of gym like 0.19.0

https://stackoverflow.com/questions/69442971/error-in-importing-environment-openai-gym

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment