AnsweredAssumed Answered

ArcGIS Pro 2.2 - Python api 1.4.2 update failure

Question asked by dcoley on Jun 26, 2018
Latest reply on Jun 28, 2018 by dcoley

Hi- This thread references ArcGIS Pro 2.1 Patch 3 Is Available 

 

but because the recent Pro 2.2 is a major release, I thought I would begin a new thread.  I tried to update my arcgis api from 1.4.1 to 1.4.2.  However the update fails.  I did install ArcGIS Pro 2.2 first.  Would this may be happening because of this section of the What's new blog under Python? -

 

  • The default Python environment, arcgispro-py3, is now read-only, but new environments are created in your user profile and no longer need administrative access to be created or modified.

 In any case, I attempted the conda upgrade command with no success.  As indicated in the above thread, I did try following Kory Kramer's suggestion on running the conda install command:

 

conda install --no-pin arcgis==1.4.2

 

but with no success:

 

The following NEW packages will be INSTALLED:
pyshp: 1.2.12-py36h9b5cf0b_0
The following packages will be UPDATED:
arcgis: 1.4.1-py36h52c3b5e_1 esri --> 1.4.2-py36hcdd194e_1 esri
The following packages will be DOWNGRADED:
tornado: 5.0.2-py36_0 --> 4.5.3-py36_0
Proceed ([y]/n)? y

 

 

ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'defaults::pyshp-1.2.12-py36h9b5cf0b_0'.
CondaError: Cannot link a source that does not exist. C:\Program Files\ArcGIS\Pro\bin\Python\pkgs\pyshp-1.2.12-py36h9b5cf0b_0\Lib\site-packages\__pycache__\shapefile.cpython-36.pyc
Attempting to roll back.

CondaError: Cannot link a source that does not exist. C:\Program Files\ArcGIS\Pro\bin\Python\pkgs\pyshp-1.2.12-py36h9b5cf0b_0\Lib\site-packages\__pycache__\shapefile.cpython-36.pyc

 

Any suggestions are appreciated.  I am hesitant to run the install with the -no deps flag, but maybe that's what's needed?

 

Thanks-

Outcomes