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

Version upgrade failed #12596

Closed
1 task done
aiise117 opened this issue Mar 24, 2024 · 3 comments
Closed
1 task done

Version upgrade failed #12596

aiise117 opened this issue Mar 24, 2024 · 3 comments
Labels
S: awaiting response Waiting for a response/more information S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior type: support User Support

Comments

@aiise117
Copy link

Description

An error message will appear and the pip subprocess cannot be started. I tried to update it, but no matter what upgrade command I used, it was invalid. However, I found that I had downloaded the pip24.0 version upgrade package, but I could not upgrade to 24.0. Version. I hope to get your professional advice and tell me how to correct it!
微信图片_20240325043213
微信图片_20240325044121

Expected behavior

No response

pip version

22.2.1

Python version

3.10.6

OS

win11\64

How to Reproduce

Unable to pull dependency packages on github

Output

No response

Code of Conduct

@aiise117 aiise117 added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Mar 24, 2024
@notatallshaw
Copy link
Contributor

notatallshaw commented Mar 28, 2024

You need to provide your original command you ran to get that error, and any custom pip configuration you have given, for anyone to be able to assist. Preferably as text, not a screenshot.

Further, this likely isn't a pip issue, and instead a misunderstanding of the installation requirements, you might be best served by reaching out to peers or help forums, such as Python Discuss help category, /r/learnpython on reddit, Python Discord's #help-* channels, #python on Libera.chat (IRC), python-list or python-tutor mailing lists, or StackOverflow.

@ichard26
Copy link
Member

@notatallshaw This is a little off-topic, but Python Discord has migrated to a single #python-help forum channel (instead of our custom rotating #help-* channel set up).

@ichard26 ichard26 added type: bug A confirmed bug or unintended behavior and removed type: bug A confirmed bug or unintended behavior labels Apr 19, 2024
@ichard26 ichard26 added type: bug A confirmed bug or unintended behavior type: support User Support S: awaiting response Waiting for a response/more information S: needs triage Issues/PRs that need to be triaged and removed S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels May 5, 2024
@ichard26
Copy link
Member

ichard26 commented May 5, 2024

It's likely that you have two Python installations installed on your system and python -m pip and pip are invoking different installs of pip. You can run pip with the --version flag to see where it comes from. Either way, I'd recommend invoking pip in the same way you run your Python programs, consistently.

For the Cannot set --home and --prefix together error, please see #11129.

@ichard26 ichard26 closed this as completed May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: awaiting response Waiting for a response/more information S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior type: support User Support
Projects
None yet
Development

No branches or pull requests

3 participants