Select to view content in your preferred language

Attempting to install 2.4.0 stuck on empty dependency

414
7
a month ago
ZacharyHart
Honored Contributor

conda version : 24.9.1

Per documentation, using the following command:

 

 

conda install -c esri arcgis arcgis-mapping

 

 

 

EmptyDep.png

And it just stalls there. 

0 Kudos
7 Replies
ZacharyHart
Honored Contributor

I tried reverting the solver to classic but this failed as well:

ZacharyHart_0-1729696887317.png

I reverted the solver back and attempted to install with no dependencies and still same error:

ZacharyHart_1-1729696993485.png

 

 

0 Kudos
ZacharyHart
Honored Contributor

UPDATE:

After letting the command prompt sit for >1hour, the following errors are returned:

ZacharyHart_0-1729863873712.png

It should be noted that if you simply try to install the arcgis, you will not get the latest version of the API:

ZacharyHart_0-1729864310228.png

What am I missing here!!!???

0 Kudos
BijanTaheri
Occasional Contributor

I used the pip method, and that worked without any problems.

pip install arcgis arcgis-mapping

I have all the functionality of 2.4.0, but i can se that the conda environment is not updated to the newest version; while the pip is. I would have guessed they should be the same.

BijanTaheri_0-1730270581494.png

BijanTaheri_2-1730270737586.png

 

0 Kudos
ZacharyHart
Honored Contributor

My issue with using Pip is that it tends to introduce dependency conflicts by pulling dependencies from PyPI.

0 Kudos
PeterKnoop
MVP Regular Contributor

@ZacharyHart, is it the case that you are trying to install arcgis 2.4.0 into a conda environment that you cloned from the default arcgispro-py3 environment that comes with ArcGIS Pro? 

arcgis-2.4.0 is not compatible with some of the packages (e.g., arcpy) in the default environment created by currently available versions of ArcGIS Pro (i.e., 3.3). It will be compatible with the default environment shipping with Pro 3.4. It will also be the arcgis version included in ArcGIS Notebook Runtime 11.

For the time being, if you want to use arcgis 2.4.0, then you have to create a new, empty conda environment, and install it there. (It is often the case that there is a short window during which the latest version of the arcgis package is not compatible with the default Pro environment, until the next major/minor version of Pro is released.)

In that new, empty conda environment, the command

conda install -c esri arcgis=2.4.0 arcgis-mapping

will install arcgis 2.4.0 specificially, and arcgis-mapping and their related dependencies. (arcpy is not one of the dependencies, and the currently available versions of arcpy on the esri channel do not include one that is compatible with arcgis 2.4.0)

ZacharyHart
Honored Contributor

Hi @PeterKnoop thanks for the reply.

To be clear: this is a standalone Conda environment. I have cloned a fresh environment for the sake testing this install of the API. I've previously had the older API in my stand alone Conda environment without issue. 

Again, the errors I've faced using Conda to install the new API have resulted in the errors I listed above.

Thank you!

[I know I have to clone an env. associated with an ArcGIS Pro install in order to add/upgrade packages. I prefer to not have any Pro installation on the device I use for my dev environment as, like you pointed out, there can be compatibility issues with the Esri provided environment].

0 Kudos
PeterKnoop
MVP Regular Contributor

@ZacharyHart this unfortunately sounds like it is probably an issue specific to your environment, so I'm not sure I can help further. My best guess is that your fresh environment does not meet one or more of the system requirements of 2.4.0. Perhaps it was not an empty environment, and you've installed other packages in it that are the source of the incompatibility?

0 Kudos