Skip to content Skip to sidebar Skip to footer

How To Use Conda/pip Install To Install Packages Behind A Corporate Proxy?

In R I can use install.packages('pkgName') to install a new package no problems. But when I tried python and do pip install package it fails with error Retrying (Retry(total=4, c

Solution 1:

Try using the below command on windows command prompt or PowerShell:

pip install --proxy DOMAIN\username:password@proxyserver:port packagename

Replace the DOMAIN, username, password, proxy server and port with values specific to your system. This works for a windows 10 installation authenticated by Active Directory that is behind a corporate proxy server.

Post a Comment for "How To Use Conda/pip Install To Install Packages Behind A Corporate Proxy?"