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

pip install cannot install such dependency #11959

Closed
1 task done
WilliamChen-luckbob opened this issue Apr 14, 2023 · 3 comments
Closed
1 task done

pip install cannot install such dependency #11959

WilliamChen-luckbob opened this issue Apr 14, 2023 · 3 comments
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior

Comments

@WilliamChen-luckbob
Copy link

WilliamChen-luckbob commented Apr 14, 2023

Description

Here I'm going to install a dependency named colorama version 0.4.6
using pip in windows 10 and pip version is pip 21.3.1 from d:\pythonrepository\python36\lib\site-packages\pip (python 3.6)
You can see this version is existing like below
image
The dependency is existing in pypi.org since 2022 and today is 2023-04-14 but I have got an error when installing it.

Here is my pip.ini file.

[global]
index-url = https://pypi.org/simple

Here is the command and feedback, no 0.4.6 was found and I don't know why

$ pip install colorama==0.4.6
ERROR: Could not find a version that satisfies the requirement colorama==0.4.6 (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5rc1, 0.4.5)
ERROR: No matching distribution found for colorama==0.4.6

$ pip3 install colorama==0.4.6
ERROR: Could not find a version that satisfies the requirement colorama==0.4.6 (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5rc1, 0.4.5)
ERROR: No matching distribution found for colorama==0.4.6

$ pip3 install -i https://pypi.org/simple colorama==0.4.6
ERROR: Could not find a version that satisfies the requirement colorama==0.4.6 (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5rc1, 0.4.5)
ERROR: No matching distribution found for colorama==0.4.6

Is ther anything that I missed or it is a bug?

Expected behavior

install successfully

pip version

21.3.1

Python version

3.6

OS

windows 10

How to Reproduce

just run pip install colorama==0.4.6
pip3 install colorama==0.4.6
or pip3 install -i https://pypi.org/simple colorama==0.4.6

Output

ERROR: Could not find a version that satisfies the requirement colorama==0.4.6 (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5rc1, 0.4.5)
ERROR: No matching distribution found for colorama==0.4.6

Code of Conduct

@WilliamChen-luckbob WilliamChen-luckbob added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Apr 14, 2023
@dstufft
Copy link
Member

dstufft commented Apr 14, 2023

Can you get more verbose output using -vvv please?

@notatallshaw
Copy link
Member

colorama 0.4.6 dropped support for Python 3.6: https://github.com/tartley/colorama/blob/master/CHANGELOG.rst

You must use colorama 0.4.5 or update your Python.

Also Pip no longer supports Python 3.6

@dstufft
Copy link
Member

dstufft commented Apr 14, 2023

Ah yea, good catch.

@dstufft dstufft closed this as completed Apr 14, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants