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

modified: setup.py in v0.21.0 #3239

Closed
wants to merge 1 commit into from
Closed

Conversation

CeyaoZhang
Copy link

Description

Changed line 20 in setup.py from "opencv-python>=3." to "opencv-python>=3.0".
This issue caused an error when installing the gym v0.21.0 on Linux/WSL through pip install -e .
Note: this bug is not shown when install on macOS and Windows.

Type of change

  • Bug fix

Screenshots

Before After

Changed line 20 in setup.py from "opencv-python>=3." to
"opencv-python>=3.0". This issue caused an error when
installing on Linux/WSL using "pip install -e .". But this bug is not
shown when install on macOS and Windows. The bug show:
Obtaining file:///mnt/e/Projects/gym
  Preparing metadata (setup.py) ... 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.
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

Successfully merging this pull request may close these issues.

1 participant