-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
poetry add 'gym[box2d]' fails while pip install 'gym[box2d]' within virtual environment #6839
Comments
Looks like an issue with undeclared build-time dependencies in See #6658 for more details/concrete examples of how to resolve this in the upstream ( |
I wasn't able to reproduce it with @neersighted. How did you do it?
|
I suspect your externally installed swig was picked up -- this might work for Poetry as well, but given that swig is distributed as a wheel and is meant to be used as a |
Amazing. Thanks! |
This still seems to be an issue and I don't see a solution listed here, so I don't know why it's closed. Adding |
it's closed because it's not a poetry problem. The open issue is jonasschneider/box2d-py#1. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Poetry
Version: 1.2.2
Python: 3.10.7
Virtualenv
Python: 3.10.7
Implementation: CPython
Path: /Users/manucalop/main_ws/projects/ucjc/cailab_rl_course/.venv
Executable: /Users/manucalop/main_ws/projects/ucjc/cailab_rl_course/.venv/bin/python
Valid: True
System
Platform: darwin
OS: posix
Python: 3.10.7
Path: /Users/manucalop/.asdf/installs/python/3.10.7
Executable: /Users/manucalop/.asdf/installs/python/3.10.7/bin/python3.10
Issue
When I do
poetry add 'gym[box2d]'
The following error arise:
However, when I do
it gets installed without problems.
Swig was installed using
The text was updated successfully, but these errors were encountered: