Select to view content in your preferred language

How to set proxy on ArcGIS Pro

9752
5
02-22-2021 04:36 AM
Labels (1)
GuillaumeArnaud
Frequent Contributor

Hello,

Answer is in the subject : to update python I need to know how to set proxy on ArcGIS Pro.

I don't find in help.

Thanks,

Guillaume

Tags (3)
0 Kudos
5 Replies
JayantaPoddar
MVP Alum

You can setup the proxy in Windows Settings.

How to Set Up a Proxy in Windows 10 



Think Location
0 Kudos
GuillaumeArnaud
Frequent Contributor

I ask my support and they reply that I can't add pakage or update it for python with a proxy with credentials. The solution is to by pass the proxy when I need to install package. I hope on next update that we can use proxy with credentials to update and install conda package.

 

Thanks

0 Kudos
EdgarWIparraguirre
Occasional Contributor

Did you solve the issue? Otherwise it seems to me a filesystem permission's issue rather than proxy. Did you also try setting http_proxy / https_proxy in the environment, and then upgrading the packages?

 

0 Kudos
GuillaumeArnaud
Frequent Contributor

I didn't, i change my ask my admin to bypass the proxy with my machine and install package i need

0 Kudos
FredericWalter
Occasional Contributor

Hello,

Maybe it can help you or someone else. To clone a python environment or to update package when you are behind a reverse proxy, you need to configure the proxy at the conda level. To do this, you need to edit .condarc file and this file is located in the directory %ArcGISProInstall%\bin\Python where %ArcGISProInstall% is the install directory of ArcGIS Pro. 

You need to had the following lines:

proxy_servers:
    http: http://user:pass@corp.com:8080
    https: https://user:pass@corp.com:8080

For more information, you can read the conda help: https://docs.conda.io/projects/conda/en/22.9.x/user-guide/configuration/use-condarc.html#config-prox... 

I use it with ArcGIS Pro 3.3 and it works well.

0 Kudos