Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install deepbots #150

Closed
anirjoshi opened this issue Oct 26, 2023 · 2 comments
Closed

Unable to install deepbots #150

anirjoshi opened this issue Oct 26, 2023 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@anirjoshi
Copy link

I get the following error when I run pip install deepbots

Collecting deepbots
  Using cached deepbots-1.0.0-py3-none-any.whl (30 kB)
Collecting gym==0.21 (from deepbots)
  Using cached gym-0.21.0.tar.gz (1.5 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel 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: subprocess-exited-with-error

× Getting requirements to build wheel 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.

Is it possible to resolve this? Is it possible to build deepbots from source rather than using pip?

@anirjoshi
Copy link
Author

anirjoshi commented Oct 27, 2023

Hi,
Just saw that this issue has been already raised (and pinned).
The following seems to work for me:

pip install setuptools==65.5.0
pip install git+https://github.com/openai/gym.git@9180d12e1b66e7e2a1a622614f787a6ec147ac40
pip install deepbots

The second command pip install git+https://github.com/openai/gym.git@9180d12e1b66e7e2a1a622614f787a6ec147ac40 is also given here.

The actual sequence of commands that worked are as follows, but the commands given above should also work.

pip install setuptools==65.5.0
pip install numpy
pip install pandas
pip install torch
pip install git+https://github.com/openai/gym.git@9180d12e1b66e7e2a1a622614f787a6ec147ac40
pip install deepbots

@tsampazk
Copy link
Member

Hey @anirjoshi, happy to hear that you solved the issue. Feel free to contact us again if you face any other difficulty.

Mentioning the pinned issue #143.

@tsampazk tsampazk added bug Something isn't working duplicate This issue or pull request already exists labels Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants