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.

12th Sep 2020, 7:46 PM
Nshuti Alliance
Nshuti Alliance - avatar
11 Respuestas
0
yes for a few different reasons! what version of python are you running and what module are you trying to install?
12th Sep 2020, 7:48 PM
Slick
Slick - avatar
0
Slick , am running python 3.8 trying to install yahoo-finance from pypi and venv
12th Sep 2020, 7:51 PM
Nshuti Alliance
Nshuti Alliance - avatar
0
alright, i have to make sure it doesnt work. try: pip install yfinance
12th Sep 2020, 7:53 PM
Slick
Slick - avatar
0
Slick , it is throwing an error again
12th Sep 2020, 7:58 PM
Nshuti Alliance
Nshuti Alliance - avatar
0
Okay, whats the error say? could you type it out/copy_paste or take a picture and post it?
12th Sep 2020, 7:59 PM
Slick
Slick - avatar
0
Do you use an IDE? I got an error when installing pygame on pycharm once.
12th Sep 2020, 8:02 PM
Yahya Bey
Yahya Bey - avatar
0
Yahya Bey , i don’t use an IDE am using vs code and a terminal window.
12th Sep 2020, 8:05 PM
Nshuti Alliance
Nshuti Alliance - avatar
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
12th Sep 2020, 8:09 PM
Nshuti Alliance
Nshuti Alliance - avatar
0
it says "temporary failure in name resolution" did you happen to type "pip install yahoo-finance" instead of "pip install yfinance"?
12th Sep 2020, 8:12 PM
Slick
Slick - avatar
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
12th Sep 2020, 8:14 PM
Nshuti Alliance
Nshuti Alliance - avatar
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.
12th Sep 2020, 8:18 PM
Slick
Slick - avatar