Unable to install robot framework through PIP command

This could be related to a local network condition or configuration. A few questions that may lead the right direction:

  • Are you able to download from PyPI with curl? Like curl https://pypi.org/simple/robotframework/
  • Pip tries to use the values from the HTTP_PROXY and HTTPS_PROXY environment variables, are these set? You can show the output of env | grep HTTP
  • Is this in a typical home network or in an enterprise environment? Coz sometimes Corporations uses proxy that blocks certain network access.
  • Has this always happened on this machine, or did it start recently?
  • If this worked in the past, are you on the same network that you were on then?
  • Can you install any other packages?

If you are sure that everything above is not an issue but its related to slow internet then try to increase the default timeout or provide the timeout :

pip --default-timeout=1000 install robotframework
OR 
pip --timeout=1000 install robotframework

If you are able to install packages which are not using HTTPS then it might be SSL issue and you might need to provide the certificate

pip config set global.cert C:\mycertificate.cer

If everything above does not work, then try restarting the machine :wink: