SUSTechGameAI / GVGAI_GYM

Apache License 2.0
11 stars 7 forks source link

Dockerfile failed to build #10

Open jellevankerk opened 3 years ago

jellevankerk commented 3 years ago

Hi, I'm using WSL Ubuntu 18.04 to build the GVGAI_GYM image, however when trying to build the Dockerfile.cpu

I got this error:

#12 43.34 ERROR: Could not find a version that satisfies the requirement tensorflow==1.14.0 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.2.2, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.3.2, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0, 2.4.1)
#12 43.34 ERROR: No matching distribution found for tensorflow==1.14.0

i removed the following line from the Dockerfile: pip install tensorflow-gpu==1.14 && \

then i got this error

#12 51.39 ERROR: Command errored out with exit status 1: /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qgqkbk5i/atari-py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qgqkbk5i/atari-py/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-1nkn2s51/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.8/atari-py Check the logs for full command output.

Any suggestions what went wrong here?

HawkTom commented 3 years ago

Hello,

The line pip install tensorFlow-gpu==1.14 is used for installing the tensorflow. If you will not use tensorFlow in your agent, you can remove this line. Same for other python packages.

Best, Hao