Unable to install Robot framework with python 2.7.15 - python

i installed Eclipse 2018-09 and python 2.7.15
then i tried to install robot framework with python using command pip install robotframwork
it returns:
Microsoft Windows [version 10.0.17134.1006]
(c) Microsoft Corporation, 2018. Tous droits réservés.
C:\WINDOWS\system32>python --version
Python 2.7.15
C:\WINDOWS\system32>pip install robotframework
Collecting robotframework
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000044D0A90>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/robotframework/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000044D0940>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/robotframework/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000044D0C50>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/robotframework/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000044D0FD0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/robotframework/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000044D06D8>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/robotframework/
Could not find a version that satisfies the requirement robotframework (from versions: )
No matching distribution found for robotframework
C:\WINDOWS\system32>

Related

Cannot install numpy with Python 3.8 "Could not find a version that satisfies the requirement numpy"

I tried EVERYTHING I've seen from similar questions on stack overflow and nothing seems to work... It may matter that I'm on a secure work computer, connected to a secured network, but I don't know if that has to do with anything.
I've added to "...Python\Python38\Scripts" and "...Python\Python38" to "Path" (among others) in my computer's Environment Variables (Start -> "Edit Environment Variables").
Here is what's entered on command line, just "pip install numpy":
C:\Users\bs>pip install numpy
Collecting numpy
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip. vendor.urllib3.connection. VerifiedHTTPSConnection object at Ox00000290E22FF550>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/numpy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None) after connection broken by 'ConnectTimeoutError(pip. vendor.ur11ib3.connection. VerifiedHTTPSConnection object at #x00000290E22FF040>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/numpy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection. VerifiedHTTPSConnection object at Ox00000290E22FF6A0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/numpy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection. VerifiedHTTPSConnection object at Ox00000290E22FF820>, "Connection to pypi.org timed out. (connect timeout=15)')': /simple/numpy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip. vendor.urllib3.connection. VerifiedHTTPSConnection object at Ox00000290E22FF9A0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/numpy/
ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
ERROR: No matching distribution found for numpy

How can I install a python package to google Colab from a private Pypi repository?

My company has developed python packages and hosted them on a private Pypi repository. I wish to install these packages on a Google Colab notebook.
If they were on a public Pypi repository this would work:
!pip3 install --index-url=https://pypi.spotify.net/spotify/production confidence
however, it causes this error:
Looking in indexes: https://pypi.spotify.net/spotify/production
Collecting confidence
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0f9e601748>, 'Connection to pypi.spotify.net timed out. (connect timeout=15)')': /spotify/production/confidence/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0f9e601588>, 'Connection to pypi.spotify.net timed out. (connect timeout=15)')': /spotify/production/confidence/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0f9e6015f8>, 'Connection to pypi.spotify.net timed out. (connect timeout=15)')': /spotify/production/confidence/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0f9e601390>, 'Connection to pypi.spotify.net timed out. (connect timeout=15)')': /spotify/production/confidence/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0f9e6012e8>, 'Connection to pypi.spotify.net timed out. (connect timeout=15)')': /spotify/production/confidence/
ERROR: Could not find a version that satisfies the requirement confidence (from versions: none)
ERROR: No matching distribution found for confidence
I suspect this is due to google Colab being a hosted notebook. This means that it is not connecting to Pypi via my work wifi, but from a google server.
You need to either:
make the package repository available to the public internet (unlikely that you'll actually want to do this)
connect Colaboratory to a local runtime: https://research.google.com/colaboratory/local-runtimes.html

pip doesn't connect, can't install anything

I'm trying to use pip install on a raspberry pi 4 (Raspian Buster) but I've been getting the same errors for a while now, I've tried a lot of common fixes but none worked.
What I've already tried:
- apt-get update and upgrade
- uninstalled and installed opensll
- uninstalled and installed pip and pip3 several times
- uninstalled and installed python and python3 (with restarts)
- I'm not being blocked by a firewall or anything (I'm using a raspberry pi 4 connected directly to the router at home)
Example outputs, same result with pip/pip3, using sudo and not and also tried using the flag "--default-timeout=120", always get the same errors
$ sudo pip3 install pyopenssl
Collecting pyopenssl
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pyopenssl/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pyopenssl/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pyopenssl/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pyopenssl/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/pyopenssl/
ERROR: Could not find a version that satisfies the requirement pyopenssl (from versions: none)
ERROR: No matching distribution found for pyopenssl
$ sudo pip3 install docker-compose
Collecting docker-compose
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/docker-compose/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/docker-compose/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/docker-compose/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/docker-compose/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /simple/docker-compose/
ERROR: Could not find a version that satisfies the requirement docker-compose (from versions: none)
ERROR: No matching distribution found for docker-compose
Whenever pip has to connect to anything I get this same kind of errors, any ideia as why this is happening?

Not able to install any packages on my Linux test server

Could you please help me? I'm not able to install the below package or any other packages.
obevt021:~ # pip install paramiko
Collecting paramiko
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /simple/paramiko/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /simple/paramiko/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /simple/paramiko/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /simple/paramiko/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /simple/paramiko/
Could not find a version that satisfies the requirement paramiko (from versions: )
No matching distribution found for paramiko
Try upgrading your pip with the following:
pip install --upgrade pip
or
python -m pip install --upgrade pip

Cannot install PyAutoGUI - receiving error

Can anyone help me on this? When I try to install PyAutoGUI, I am getting the following error:
C:\Python 34>pip.exe install pyautogui
Collecting pyautogui
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB69B0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6B70>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6C30>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6CF0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6DB0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BB6E50>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BD3130>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BD31F0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BD32B0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x03BD3370>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pyautogui/
Could not find a version that satisfies the requirement pyautogui (from versions: )
No matching distribution found for pyautogui
Much appreciated. Thank You!
Download the package from here PyPI.PyAutoGUI. Browse to the folder where the file has been downloaded and open Command Prompt over there.
Type the command : pip install "PyAutoGUI-0.9.50.tar.gz" (Check the file name in case it changes with future releases of mentioned package.)
This isn't a problem with PyAutoGUI, but rather this is pip's behavior when it can't connect to the internet properly. Check your network, firewalls, proxies, and so on.

Categories

Resources