AnsweredAssumed Answered

Installing Python for ArcGIS Server on Linux

Question asked by rsgordon on Aug 1, 2019
Latest reply on Oct 3, 2019 by drewdowling

I am attempting to install the Python 3 runtime on a Linux machine in order to allow me to automate the running of a script without the need to install ArcGIS Server, but I am unable to install  "arcgis-server-py3" package. The debian based machine has Anaconda 2019.07 installed and with conda info command showing

 

active environment : base
active env location : /opt/conda
shell level : 1
user config file : /root/.condarc
populated config files :
conda version : 4.7.10
conda-build version : 3.18.8
python version : 3.7.3.final.0
virtual packages :
base environment : /opt/conda (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /opt/conda/pkgs
/root/.conda/pkgs
envs directories : /opt/conda/envs
/root/.conda/envs
platform : linux-64
user-agent : conda/4.7.10 requests/2.22.0 CPython/3.7.3 Linux/4.9.125-linuxkit debian/10 glibc/2.28
UID:GID : 0:0
netrc file : None
offline mode : False

However when I attempt to install arcgis-server-py3 the following is returned

 

(base) root@70ec06d98032:/# conda install -c esri arcgis-server-py3
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Initial quick solve with frozen env failed. Unfreezing env and trying again.
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \ failed

I am able to install none ESRI Conda packages. Do I need to add in the ESRI channel somehow?

Outcomes