When attempting to clone the default Python environment in ArcGIS Pro via the Manage Environments window or via the Command Prompt, the following errors may be returned:
Error: CondaError: ProxySchemeUnknown('Not supported proxy scheme proxy-au',)
Error: CondaError: CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/esri/win-64/arcgispro-2.4-0.tar.bz2> Elapsed: - An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way.
These errors can occur when the firewall is blocking access to the Anaconda library where the Python environment is stored.
The solution for this is to add the Anaconda site to the list of allowed sites, and to set the proxy within the .CONDARC file. By default, proxy settings are pulled from the HTTP_PROXY and HTTPS_PROXY environment variables or the system. Setting them here overrides that default.
Note: Contact your IT support for the proxy server details.
*.conda.anaconda.org *.conda.binstar.org/numba/win-64/ *.conda.anaconda.org/ *.binstar.org/ *.anaconda.org/ *.repo.continuum.io/ *.pypi.python.org/
C:\users\<userprofile> C:\Program Files\ArcGIS\Pro\bin\Python
channels: - esri - defaults proxy_servers: http: http://proxy.domain.com:8080 https: https://proxy.domain.com:8080 ssl_verify: False
conda config --set ssl_verify false
To ensure access to the internet from the machine that we're running the conda install from, it may be necessary to have to open a website first (for example: https://abc.net.au) to ensure that the machine has been authenticated against the forward proxy to allow connection.