New connection error pip | Sololearn: Learn to code for FREE!

0

New connection error pip

Hi, have you ever meet this error, python package manager is throwing an error while installing a package, can you help me, thanks for any answer.

9/12/2020 7:46:56 PM

Nshuti Alliance

11 Answers

New Answer

0

yes for a few different reasons! what version of python are you running and what module are you trying to install?

0

Slick , am running python 3.8 trying to install yahoo-finance from pypi and venv

0

alright, i have to make sure it doesnt work. try: pip install yfinance

0

Slick , it is throwing an error again

0

Okay, whats the error say? could you type it out/copy_paste or take a picture and post it?

0

Do you use an IDE? I got an error when installing pygame on pycharm once.

0

Yahya Bey , i don’t use an IDE am using vs code and a terminal window.

0

this is the error: 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 0x7fe4edd29790>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yahoo-finance/ 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 0x7fe4edd29550>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yahoo-finance/ 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 0x7fe4edd295e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yahoo-finance/ 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 0x7fe4edd293a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yahoo-finance/ 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 0x7fe4edd291f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yahoo-finance/ ERROR: Could not find a version that satisfies the requirement yahoo-finance (from versions: none) ERROR: No matching distribution found for yahoo-finance

0

it says "temporary failure in name resolution" did you happen to type "pip install yahoo-finance" instead of "pip install yfinance"?

0

@Slick, it is the same look at this : 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 0x7fa6417f7790>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yfinance/ 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 0x7fa6417f7550>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yfinance/ 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 0x7fa6417f75e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yfinance/ 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 0x7fa6417f73a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yfinance/ 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 0x7fa6417f71f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/yfinance/ ERROR: Could not find a version that satisfies the requirement yfinance (from versions: none) ERROR: No matching distribution found for yfinance

0

okay, and it seems like its trying 4 times to connect and it fails to connect each time. is there any way you can reset your internet connection? try turning it off and then back on. if the problem persists, reset your machine and get back to me. This could go on and its not necissarily about programming. If you still cant connect, just dm me.