Hello ,
i have tried to clone the Python environment through packet manager at ArcGis pro but i got error ,i believe because of the firewall .it is not creating the new environment and not installing any package for the new environment
So I tried to do clone at Python command
conda create —clone arcgispro-py3 —name <new environment name>
but I got this error :
Conda Error : conda Http error : http 000 connection failed for url <https://conda.anaconda.org/Esri/win-64/ArcGis pro-2.6.0.tarzbz2> 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
as info : I have ArcGis pro 3.1
How could I solve it ?
Hello @spiderman90,
Seems that either the firewall is preventing the client (PRO/cmd) to get to conda.anaconda.org or a proxy is denying requests to conda repository. Check inbound/outbound rules of the firewall and verify (with IT) that your computer have full access to the repositories through the proxy (if any).
Also, https://conda.anaconda.org/Esri/win-64/ArcGis url does not exist anymore. Don't know why is requesting that path. Make sure you are running conda from ArcGIS' Python Command Prompt.
Cheers,
thanks for reply .
Iam running it through Python command prompt .
I am admin user .How could I check that I have all access to repositories ?
is there working method without conda and packet manager to clone the environment that I could try ?
If you wanna create a clone environment from arcgipro-py3, then there is no a workaround to clone the env unless you do not need arcpy library.
I'd try to run the following command before clonning the environment to verify is not SSL related. This is not a good practice (execute it at your own risk)
conda config --set ssl_verify False
If the issue still persists, check with IT if any proxy or firewall rule is blocking requests.
Another option could be, uninstall completely ArcGISPRO (including Windows Registry, local folders, everything) and perform a new clean install in case any other conda from previous versions is altering somehow current conda installation.
Thanks for ur reply .
i did it already ,it started to clone after I did conda config - -set ssl_verfiy False .and it started to download packages but after 5 min , it stopped and did not complete the clone process .
it shows me error message
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054 )
Do u have any idea for me ?what should I do to clone the environment with conda ?
@spiderman90 have you whitelisted the following URLs?
If you are behind a proxy, try configuring %programfiles%\arcgis\pro\bin\python\.condarc for use behind a proxy server.
Note that being behind a proxy server might cause you issues elsewhere as well. We are investigating this.