1

I'm trying to download python library from github, by using this comand in cmd: pip install --upgrade --force-reinstall https://github.com/BurnySc2/python-sc2/archive/develop.zip But in the end, I catch an error:

enter image description here

ERROR: Package 'burnysc2' requires a different Python: 3.10.2 not in '<3.10,>=3.7'

I have the latest version of Python (3.10.2) Is there any ways to solve this problem?

2 Answers 2

2

That library doesn't officially support Python 3.10, as the error message says.

I have the latest version of Python (3.10.2) Is there any ways to solve this problem?

I believe you can try adding --python-version 3.9 to your command. This should let you install with Python 3.10 even though it isn't officially supported:

The Python interpreter version to use for wheel and “Requires-Python” compatibility checks. Defaults to a version derived from the running interpreter.

If this works and all tests pass, consider changing the version constraint to include Python 3.10 and submitting a pull request.

Or you could downgrade to Python 3.9.

Sign up to request clarification or add additional context in comments.

Comments

1

try download the wheel file and force install it using pip install <package-name> --ignore-requires-python --target <directory> but it probably won't work

1 Comment

Works fine for pip install, sadly doesn't work for pip download!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.