I'm on a split machine with limited rights, since I got upgraded to 2.2 my ArcPy is broken. I found the following two technical articles and am working with our IT to implement them. While I'm waiting, I wanted to know; is this issue related to that? Do I need to downgrade?
We've repaired, uninstalled and re-installed on admin-level logins. ArcGIS Pro works on the admin-level logins; does not work on the limited-rights login. ArcGIS Pro was subsequently uninstalled and re-installed on the limited-rights login using admin-level credentials. We have also tried resettting the application profile.
This is the error message from ArcPy, and I have this one too:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\__init__.py", line 77, in <module>
from arcpy.toolbox import *
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\toolbox.py", line 716, in <module>
from .na import AddFieldToAnalysisLayer as AddFieldToAnalysisLayer_na
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\na.py", line 40, in <module>
from arcpy import _na
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\_na\__init__.py", line 18, in <module>
from ._sas import *
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\_na\_sas.py", line 59, in <module>
AttributeError: module 'arcpy._na' has no attribute 'ServiceArea'
Welcome aboard the ArcGIS 2.2 upgrade train: I liken it to the Beatles 'Magical Mystery Tour' album.
Start here: ArcGIS Pro 2.2.0 and Python Package Manager
and if you still need more, search on 'Dan Patterson Blog'
If you installed for all users, it puts the installation in the c:\program.... folder and dumps a path like that for individuals.
I install mine for me only in a different folder and the 'Users path doesn't exist since it isn't needed
Thanks for the reply! I ran into a similar issue last year when I broke the Pro environment; afterwards, I think I used your technique of copying the folder as a cloned env in my main anaconda distribution to prevent it from happening again. I thought this was the same thing and have been battling this for more than a week.
This all affected my work computer so the response has been slow, and a lot harder without admin rights and with the installation in a central location.