# Use conda install with proxy

**URL:** <https://forum.anaconda.com/t/use-conda-install-with-proxy/26512>\
**Category:** Technical Topics\
**Tags:** proxy, installation\
**Created:** [June 29, 2022, 5:41am UTC](https://forum.anaconda.com/t/use-conda-install-with-proxy/26512 "2022-06-29T05:41:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmed.shaikh.3](https://avatars.discourse-cdn.com/v4/letter/a/db6015/32.png) [@ahmed.shaikh.3](https://forum.anaconda.com/u/ahmed.shaikh.3)\
**Post date:** [June 29, 2022, 5:41am UTC](https://forum.anaconda.com/t/use-conda-install-with-proxy/26512/1 "2022-06-29T05:41:33Z")

</div>

I am using Anaconda from my company’s network which prevents me from using pip or conda install to install libraries. My question is how to set up http/https proxy on windows with authentication that enables me to do conda or pip install from anaconda prompt or Jupytor?

I am new to these things so I appreciate a detailed step by step procedure with example.

---

<div class="post-metadata">

**Author:** ![ktsh.tanaka.2020](https://dub1.discourse-cdn.com/anaconda/user_avatar/forum.anaconda.com/ktsh.tanaka.2020/32/1400_2.png) [@ktsh.tanaka.2020](https://forum.anaconda.com/u/ktsh.tanaka.2020)\
**Post date:** [June 29, 2022, 9:13am UTC](https://forum.anaconda.com/t/use-conda-install-with-proxy/26512/2 "2022-06-29T09:13:49Z")

</div>

[ahmed.shaikh.3](https://forum.anaconda.com/u/ahmed.shaikh.3)

nice to meet you.

> I am using Anaconda from my company’s network which prevents me from using pip or conda install to install libraries. My question is how to set up http/https proxy on windows with authentication that enables me to do conda or pip install from anaconda prompt or Jupytor?

Basically, Proxy set from jupyter or Anaconda is not possible. So you have to let your Windows system know that they are going through a proxy.

I will show you the URL of the site that will be helpful at that time.

> **[Windows: Show Proxy Settings - CMD & PowerShell - ShellHacks](https://www.shellhacks.com/windows-show-proxy-settings-cmd-powershell/)**
>
> How to show proxy settings in Windows from the command-line (CMD) and PowerShell.

> **[How To Check the Proxy Server Settings on Your Computer](https://helpdeskgeek.com/networking/internet-connection-problem-proxy-settings/)**
>
> If you feel your Internet connection is slower than what it should be or you notice that certain websites get blocked while browsing, it could be because all your Internet \[...\]

It is a good idea to set up the relevant application from the above sites and try using it.

---

<div class="post-metadata">

**Author:** ![Damian\_Shaw](https://avatars.discourse-cdn.com/v4/letter/d/0075a9/32.png) [@Damian\_Shaw](https://forum.anaconda.com/u/Damian_Shaw)\
**Post date:** [June 30, 2022, 9:50pm UTC](https://forum.anaconda.com/t/use-conda-install-with-proxy/26512/3 "2022-06-30T21:50:32Z")

</div>

If your company uses a simple proxy then both conda and pip will support it fine:

- [Using Anaconda behind a company proxy — Anaconda documentation](https://docs.anaconda.com/anaconda/user-guide/tasks/proxy/)
- [User Guide - pip documentation v22.1.2](https://pip.pypa.io/en/stable/user_guide/#using-a-proxy-server)

However the chances are that the proxy will require to be authenticated against private Certificate Authority and require SSPI proxy authentication, neither of these kind of enterprise security options are well supported in the python world.

One workaround is to “px proxy”, follow the installation guide here: [GitHub - genotrance/px: An HTTP proxy server to automatically authenticate through an NTLM proxy](https://github.com/genotrance/px). And then with px proxy running you can point pip or conda to use px proxy as their proxy server (default is to point their proxy setting to `http://127.0.0.1:3128`).

This all assumes that your company proxy is not blocking PyPi and Anaconda outright, you can test this by trying to download files in your browser, if that is blocked then you have no chance.

Finally if your company is more than 200 employees it likely falls under Anaconda’s terms of service as requiring a commercial license: [Anaconda | Terms of Service](https://www.anaconda.com/terms-of-service). If you do fall under this you should contact Anaconda’s sales reps or switch to using vanilla Python or Miniforge: [GitHub - conda-forge/miniforge: A conda-forge distribution.](https://github.com/conda-forge/miniforge)

Good luck.

---

<div class="post-metadata">

**Author:** ![ahmed.shaikh.3](https://avatars.discourse-cdn.com/v4/letter/a/db6015/32.png) [@ahmed.shaikh.3](https://forum.anaconda.com/u/ahmed.shaikh.3)\
**Post date:** [August 22, 2022, 4:57am UTC](https://forum.anaconda.com/t/use-conda-install-with-proxy/26512/4 "2022-08-22T04:57:18Z")

</div>

Thank you very much for the help. My company has more than 200 employees for sure and we have a commercial license. I’ll get in touch with Anaconda support to explore Miniforge. Thanks. again!
