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 ConnectTimeoutError】 What should I do about this problem? #12413

Closed
1 task done
maggiechian926 opened this issue Nov 25, 2023 · 1 comment
Closed
1 task done
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior

Comments

@maggiechian926
Copy link

Description

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x100ad3a00>, 'Connection to xxx.com.tw timed out. (connect timeout=15)')': /simple/requests/

I am trying to install a PIP package, but I keep getting this yellow text. There is also another line of text that I would like to ask if it is related to the first problem.

I have followed the instructions on Apple's website: https://support.apple.com/zh-tw/HT208050
I have tried the changes, but the message still appears.

I have also tried to create a new virtual environment and asked ChatGPT and Bard.

My computer is connected to the internet, and I have also tried different network connections, but I am still unable to install the PIP package.

These problems started after I started using Docker. Could it be a Docker issue?

I am not a native speaker of English.

截圖 2023-11-22 下午12 49 39 ***
requirements

Expected behavior

No response

pip version

22.2.2

Python version

python 3.10

OS

mac 12.7.1

How to Reproduce

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x100ad3a00>, 'Connection to xxx.com.tw timed out. (connect timeout=15)')': /simple/requests/

I am trying to install a PIP package, but I keep getting this yellow text. There is also another line of text that I would like to ask if it is related to the first problem.

I have followed the instructions on Apple's website: https://support.apple.com/zh-tw/HT208050
I have tried the changes, but the message still appears.

I have also tried to create a new virtual environment and asked ChatGPT and Bard.

My computer is connected to the internet, and I have also tried different network connections, but I am still unable to install the PIP package.

These problems started after I started using Docker. Could it be a Docker issue?

I am not a native speaker of English.

#######My Mac is a 2016 model and can only be updated to macOS 12.7.1.


截圖 2023-11-22 下午12 49 39 ***
requirements

Output

No response

Code of Conduct

@maggiechian926 maggiechian926 added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Nov 25, 2023
@jeanas
Copy link
Contributor

jeanas commented Jan 25, 2024

“Connection to xxx.com.tw timed out”… That site does not look like a Python package index. You probably have an option that sets this bogus index in your requirements.txt for whatever reason.

@jeanas jeanas closed this as completed Jan 25, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 25, 2024
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

2 participants