google-research / football

Check out the new game server:
https://research-football.dev
Apache License 2.0
3.28k stars 1.27k forks source link

Can't build non-GPU docker either #349

Open jecompton opened 1 year ago

jecompton commented 1 year ago

I put in an issue that the GPG sig for nvidia is outdated and I couldn't build the docker image.

Now I just tried the non-gpu with docker build --build-arg DOCKER_BASE=ubuntu:20.04 . -t gfootball, but I get this error:

Collecting gym<=0.21.0
  Downloading gym-0.21.0.tar.gz (1.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 3.6 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The command '/bin/sh -c cd /gfootball && python3 -m pip install .' returned a non-zero code: 1

Sigh. So much for docker just bundling things up and everything working. I'm not doing anything weird here.

What should I do?