Zhehui-Huang / quad-swarm-rl

Additional environments compatible with OpenAI gym
98 stars 39 forks source link

Installation problem #41

Closed sAz-G closed 9 months ago

sAz-G commented 11 months ago

Hi everyone,

during the installation process, when I type pip install -e . && cd .., I get the following error message

Obtaining file:///home/sample-factory
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... error
  error: subprocess-exited-with-error

  × Getting requirements to build editable did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in sample-factory setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
          numpy>=1.18.1<2.0
               ~~~~~~~~^
      [end of output]

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

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.

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

I thought it would be a problem with setuptools and therefore installed another version of it, and tried the command again, but it does not help.

I am using ubuntu 20.04.

OOyindamola commented 11 months ago

You can comment that line out and run pip install -e . again. Then, run pip install numpy==1.19.0