Create new Python environment

7778
24
01-19-2020 12:24 AM
shafitrumboo
New Contributor III

I'm trying to create new environment using ArcPro 2.4 and also trying using command prompt but it shows error and that is.

CondaError: CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/esri/win-64/mkl-2019.3-arcgispro_203.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.
CondaError: CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/esri/win-64/mkl-2019.3-arcgispro_203.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.
CondaError: CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/esri/win-64/mkl-2019.3-arcgispro_203.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.
I'm suing ArcGIS Pro 2.4 and windows 10
24 Replies
DanPatterson_Retired
MVP Emeritus

There was an announcement that there was some maintenance going on which would affect My Esri 

January 18th 7-10pm PST

Maybe it it affects access to a variety of places.  Were you within that time window?

0 Kudos
shafitrumboo
New Contributor III

I tried it just now Kuwait ‎(UTC+3) 13:07 HRS. But Am trying from last few days same issue

0 Kudos
DanPatterson_Retired
MVP Emeritus

details of how you are creating it shafi trumboo‌ might help.

Are you using conda? or creating a new environment within Pro itself?  

Also paths and environment name as well.

MarcGraham2
Occasional Contributor III

I had the same problem today. Trying to clone the default conda environment from within ArcGIS Pro 2.4.1.  

When I copy the URL that is giving the issue (https://conda.anaconda.org/esri/win-64/arcgispro-2.4-0.tar.bz2 ) and paste it into chrome the file downloads fine.

DanPatterson_Retired
MVP Emeritus

Did you try conda?

/blogs/dan_patterson/2018/12/28/clone 

just follow the clone part, if you are familiar with conda... otherwise just wait until Kory gets back to the thread in case it is system wide rather than user specific.

0 Kudos
MarcGraham2
Occasional Contributor III

I found that article a little hard to follow.  My default user is not an administrator on the machine, but I can run processes as an admin if required.  I tried to clone the env on the command line like this:

But the errors are clearly the same.

It creates the following folder structure:

C:\Users\mgg\AppData\Local\ESRI\conda\envs\marc

   etc

      jupyter

         nbconfig

   Lib

      site-packages

   Menu

   Scripts

etc etc

and a few files are populated.

0 Kudos
DanPatterson_Retired
MVP Emeritus

If conda and the package manager are having issues... wait for Kory to respond to see if it was update related.

Also ArcGIS Pro 2.5 is about to roll out.  Beta 2.5 ended on Friday, soooo, it may be that background work is affecting access to the 2.4 package set for now.

Besides... you should really wait for 2.5 (it is sweet! )

0 Kudos
MarcGraham2
Occasional Contributor III

Dan Patterson wrote:

Besides... you should really wait for 2.5 (it is sweet! )

This is the story of all Esri users' lives... always waiting for the next update 😉

Jokes aside, even if you are updating the backend to support a new version, your team should be providing service continuity for everybody still on the current version.

DanPatterson_Retired
MVP Emeritus

Not my team... I am a retired user, who just finished shoveling snow