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

Failed to establish a new connection: #12730

Closed
1 task done
Zswdhy opened this issue May 25, 2024 · 2 comments
Closed
1 task done

Failed to establish a new connection: #12730

Zswdhy opened this issue May 25, 2024 · 2 comments
Labels
type: support User Support

Comments

@Zswdhy
Copy link

Zswdhy commented May 25, 2024

Description

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2f7f54bd60>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pandas/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2f7f54bfd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pandas/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2f7f4e5250>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pandas/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2f7f4e5400>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pandas/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2f7f4e55b0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pandas/
ERROR: Could not find a version that satisfies the requirement pandas (from versions: none)
ERROR: No matching distribution found for pandas

Expected behavior

No response

pip version

24.0

Python version

3.8.19

OS

wsl

How to Reproduce

1、conda activate backend
2、pip install pandas

Output

No response

Code of Conduct

@Zswdhy Zswdhy added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels May 25, 2024
@ichard26 ichard26 added type: support User Support and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels May 28, 2024
@ichard26
Copy link
Member

This sounds like a DNS issue or index configuration issue. Are you using a custom index URL which doesn't exist (or doesn't resolve in your environment, perhaps you're using a corporate-only index URL)? Try to curl https://pypi.org and see whether your system can even resolve and connect to PyPI.

You will probably be better served by reaching out to peers or help forums, such as Python Discuss help category, /r/learnpython on reddit, Python Discord's #python-help channel, #python on Libera.chat (IRC), python-list or python-tutor mailing lists, or StackOverflow.

@ichard26
Copy link
Member

Closing due to the lack of any follow-up which keeps this issue unactionable.

@ichard26 ichard26 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 22, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: support User Support
Projects
None yet
Development

No branches or pull requests

2 participants