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

gym conflict #15

Open
allendred opened this issue Jan 13, 2021 · 1 comment
Open

gym conflict #15

allendred opened this issue Jan 13, 2021 · 1 comment

Comments

@allendred
Copy link

base ❯ pip install nes_py-8.1.2-cp37-cp37m-macosx_10_15_x86_64.whl
Processing ./nes_py-8.1.2-cp37-cp37m-macosx_10_15_x86_64.whl
Requirement already satisfied: numpy>=1.18.5 in /Users/etsiva/anaconda3/lib/python3.7/site-packages (from nes-py==8.1.2) (1.19.2)
Requirement already satisfied: tqdm>=4.32.2 in /Users/etsiva/anaconda3/lib/python3.7/site-packages (from nes-py==8.1.2) (4.49.0)
Collecting gym>=0.17.2
Using cached gym-0.18.0-py3-none-any.whl
Requirement already satisfied: numpy>=1.18.5 in /Users/etsiva/anaconda3/lib/python3.7/site-packages (from nes-py==8.1.2) (1.19.2)
Requirement already satisfied: Pillow<=7.2.0 in /Users/etsiva/anaconda3/lib/python3.7/site-packages (from gym>=0.17.2->nes-py==8.1.2) (7.2.0)
Requirement already satisfied: cloudpickle<1.7.0,>=1.2.0 in /Users/etsiva/anaconda3/lib/python3.7/site-packages (from gym>=0.17.2->nes-py==8.1.2) (1.6.0)
Requirement already satisfied: scipy in /Users/etsiva/anaconda3/lib/python3.7/site-packages (from gym>=0.17.2->nes-py==8.1.2) (1.5.2)
Using cached gym-0.17.3-py3-none-any.whl
Using cached gym-0.17.2-py3-none-any.whl
INFO: pip is looking at multiple versions of nes-py to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install nes-py and nes-py==8.1.2 because these package versions have conflicting dependencies.

The conflict is caused by:
nes-py 8.1.2 depends on pyglet>=1.5.5
gym 0.18.0 depends on pyglet<=1.5.0 and >=1.4.0
nes-py 8.1.2 depends on pyglet>=1.5.5
gym 0.17.3 depends on pyglet<=1.5.0 and >=1.4.0
nes-py 8.1.2 depends on pyglet>=1.5.5
gym 0.17.2 depends on pyglet<=1.5.0 and >=1.4.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

OS:macOS 10.15.7

@allendred allendred changed the title gym gym conflict Jan 13, 2021
@Maxwell2017
Copy link

Have you ever solved it? @allendred

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants