Error installing API python esri arcgis on Apple MacBook Pro M2 chip with conda

1091
3
12-06-2022 01:15 AM
Arpa_PiemonteGeoportal_Team
Occasional Contributor II

Hi,

I'm trying to install the python esri arcgis api on a MacBook Pro M2 chip with conda, command:

conda install -c esri arcgis

and I got this error: 

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

- arcgis.org/esri/osx-arm64
- https://conda.anaconda.org/esri/noarch
- https://repo.anaconda.com/pkgs/main/osx-arm64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-arm64
- https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Current channels:

- https://conda.anaconda

I founded this post, but this is not a solution: https://stackoverflow.com/questions/74009106/cant-install-esri-arcgis-thorugh-conda-on-macos-m1

Have any ideas?

Thanks

 

 

 

Tags (4)
0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

see

Install and Setup | ArcGIS API for Python

do you have ArcGIS Pro installed? 

Files :: Anaconda.org 

is the download site for the *.tar.bz2 files.  Only python 3.7, 3.8 and 3.9 are supported


... sort of retired...
0 Kudos
Arpa_PiemonteGeoportal_Team
Occasional Contributor II

The point is that my mac has an M2 chip, in the anaconda page is possible to download the arcgis api python for macbook with intel chip (architeture x86_64, not chip Apple M2), as you can see by click info in the files of anancoda page:

Arpa_PiemonteGeoportal_Team_0-1670323575055.png

 

I don't have ArcGis Pro installed.

Thanks

sbiickert
New Contributor

Hi there. By following the ideas on this page, I was able to install the X86 version of the ArcGIS API for Python on my M2 MacBook Pro. I used HomeBrew to install Miniforge.

Simon

 

0 Kudos