Select to view content in your preferred language

Can't clone python environment SSL error

1840
8
10-29-2024 03:28 PM
MK13
by
Frequent Contributor

I am utilising ArcGIS pro 3.3.2 and I am unable to clone the default python environment. With previous versions of Pro, I tended to pip install into the default arcgispro-py3 location but that doesn't seem to work anymore so I attempted to clone the default environment. However, that errors out with the SSL error below.

MK13_0-1730240889105.png

Things that I have tried:

- Run as administrator

- set the security certificate using conda

- allow full control by users on the ArcGIS folder

 

8 Replies
PTW
by
Regular Contributor

Hi!

This looks to be caused by a Self Signed SSL certificate. I have encountered something similar and I believe I cleared the ssl certificate cache and then I was able to proceed.

There are some solutions where you set verify to false to skip the check however I can't recommend this due to security issues. I hope this helps!

 

 

0 Kudos
MK13
by
Frequent Contributor

How do you clear the ssl certificate cache?

0 Kudos
Dan_Brumm
Frequent Contributor

We ran into the exact same issue a while back. Same error message, same 0% downloaded messages.  Turns out we were being blacklisted by Anaconda because they thought were a commercial entity.  Had to contact Anaconda, provide our server IP's and a letter stating our organization was not a commercial entity. They were really good to work with and had it fixed within a few days. 

Daniel Brumm
GIS Nerd
0 Kudos
AaronKoelker
Frequent Contributor

I'm running into this issue as well (work in state government). Clearing the ssl cache didn't help. Turns out Anaconda.org is blocked by our IT/security team... So if anyone else comes across this, try accessing their website first to check if that is the case lol. 

Update 5/12/25: This didn't solve my issue entirely but was probably one of multiple roadblocks. 

-Aaron
CatHeindel
Occasional Contributor

Were you able to resolve the issue? I did what you suggested and found the Anaconda.org is blocked for me as well and I am experiencing the SSL certificate error 

0 Kudos
AaronKoelker
Frequent Contributor

I have not been able to resolve, no. But I'm fairly certain it is still related to our internal security. 

-Aaron
0 Kudos
DavidPoutier
New Contributor

Hello.

I had the same issue with ArcGIS Pro 3.5.4, and solved it like this:

- On Windows 11, open your "Invité de commande python" or " "Python Command Prompt".

- A DOS prompt is open on "(arcgispro-py3) D:\softs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3>"

- Type : "conda config --set ssl_verify no"

- Relaod ArcGIS pro, and try to clone python 

Best regards.

 

 

 

 

VincentMcClarty
Emerging Contributor

This did the trick - thanks