I am new to python . I am trying to install gTTS . currently using pip install throws this error below. Please advice how should i go about it.
Pip version : 18.1
Python version : 3.7.2
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FC2668>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/gtts/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FC2208>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/gtts/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FC23C8>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/gtts/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FC21D0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/gtts/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FE1048>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/gtts/
Could not find a version that satisfies the requirement gTTS (from versions: )
No matching distribution found for gTTS
Also, i have tried to check the network pulls using :
import pip._vendor.requests as requests
response_certifi = requests.get("https://pypi.python.org", verify=True)
print (response_certifi)
error message :
AttributeError: module 'pip._vendor.requests' has no attribute 'Session'
Hello,
I am new to python . I am trying to install gTTS . currently using pip install throws this error below. Please advice how should i go about it.
Pip version : 18.1 Python version : 3.7.2
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FC2668>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/gtts/ Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FC2208>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/gtts/ Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FC23C8>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/gtts/ Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FC21D0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/gtts/ Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002F7E0FE1048>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/gtts/ Could not find a version that satisfies the requirement gTTS (from versions: ) No matching distribution found for gTTS
Also, i have tried to check the network pulls using : import pip._vendor.requests as requests response_certifi = requests.get("https://pypi.python.org", verify=True) print (response_certifi) error message : AttributeError: module 'pip._vendor.requests' has no attribute 'Session'