# Unable to install robot framework through PIP command

**URL:** <https://forum.robotframework.org/t/unable-to-install-robot-framework-through-pip-command/6580>\
**Category:** Robot Framework\
**Created:** [21 December 2023 20:35 UTC](https://forum.robotframework.org/t/unable-to-install-robot-framework-through-pip-command/6580 "2023-12-21T20:35:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gopikg](https://avatars.discourse-cdn.com/v4/letter/g/82dd89/32.png) [@gopikg](https://forum.robotframework.org/u/gopikg)\
**Post date:** [21 December 2023 20:35 UTC](https://forum.robotframework.org/t/unable-to-install-robot-framework-through-pip-command/6580/1 "2023-12-21T20:35:10Z")

</div>

Unable to install robot framework through PIP command and getting below error. Can you please help me out how to install in work network.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/b/b152c80c93fc36606514c7ae170b202f33b73198.png)

---

<div class="post-metadata">

**Author:** ![shuklapratik](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@shuklapratik](https://forum.robotframework.org/u/shuklapratik)\
**Post date:** [21 December 2023 21:06 UTC](https://forum.robotframework.org/t/unable-to-install-robot-framework-through-pip-command/6580/2 "2023-12-21T21:06:26Z")

</div>

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 :

```python
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

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

```

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

---

<div class="post-metadata">

**Author:** ![gopikg](https://avatars.discourse-cdn.com/v4/letter/g/82dd89/32.png) [@gopikg](https://forum.robotframework.org/u/gopikg)\
**Post date:** [21 December 2023 22:01 UTC](https://forum.robotframework.org/t/unable-to-install-robot-framework-through-pip-command/6580/3 "2023-12-21T22:01:45Z")

</div>

Thanks for quickly responded. Please find inline answers for the questions

- Are you able to download from PyPI with curl? Like `curl https://pypi.org/simple/robotframework/` → **Yes I am able to download it and tried to install robot framework package then am getting this error**

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/6/60fe01fb11b1a64a7c8bf02596be8dc072557e35.png)

- Is this in a typical home network or in an enterprise environment? Coz sometimes Corporations uses proxy that blocks certain network access.–\> **Using corporate network and system.**
- Has this always happened on this machine, or did it start recently?-\> **Yes this is happening in the work system**
- If this worked in the past, are you on the same network that you were on then? - **No**
- Can you install any other packages?-\> **No, getting same error**

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [22 December 2023 11:39 UTC](https://forum.robotframework.org/t/unable-to-install-robot-framework-through-pip-command/6580/4 "2023-12-22T11:39:14Z")

</div>

You are getting ReadTimeout from the connection to [pypi.org](http://pypi.org). This is slightly weird – if it would be firewall blocking your access - the access typically is blocked even before “ReadTimeout” can occur. It could be that there’s firewall that inspects the traffic and then blocks the connection thought …

Anyway, in WORK environments, you probably need to configure a PROXY settings for pip. See [User Guide - pip documentation v23.3.2](https://pip.pypa.io/en/stable/user_guide/#config-file) and/or [How to Use Pip with a Proxy Server - ActiveState](https://www.activestate.com/resources/quick-reads/pip-install-proxy/)

The actual setting is specific to your work. In most cases, your IT admins should be able to provide you with correct settings.
