Closed raineroviir closed 7 years ago
You must be in wrong directory. You should be in directory where universe-starter-agent is checked out, which will include train.py
.
I'm in the home directory ~. I can't find the file train.py. Does python look for train.py in the directory where I started the conda environment?
My steps: (following the getting started guide on the readme)
conda create --name universe-starter-agent python=3.5
source activate universe-starter-agent
brew install tmux htop # On Linux use sudo apt-get install -y tmux htop
pip install gym[atari]
pip install universe
pip install six
pip install tensorflow
conda install -y -c https://conda.binstar.org/menpo opencv3
conda install -y numpy
conda install -y scipy
Then I try to run python train.py
and it says train.py not found.
train.py is part of this (universe-starter-agent) repository. You download it with git:
$ cd ~
$ git clone https://github.com/openai/universe-starter-agent
$ cd universe-starter-agent
$ python train.py
running command
python train.py --num-workers 2 --env-id PongDeterministic-v3 --log-dir /tmp/pong
in the universe-starter-agent conda env. I get the following error: python: can't open file 'train.py': [Errno 2] No such file or directory