AnsweredAssumed Answered

ArcPy Permission Denied Errors in ArcGISPro 2.3

Question asked by mwallace@fmi.com on Feb 6, 2019
Latest reply on Jul 9, 2019 by aarcichowski@invenergyllc.com_invenergyllc

Has anybody encountered a Permission Denied error while using python based Geoprocessing tool in ArcGISPro 2.3?

 

I upgraded to 2.3 and then ran conda install spyder so that I could use the spyder IDE. After I did this I am unable to

import arcpy

I receive the following error
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\__init__.py", line 20, in <module>
import numpy
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\__init__.py", line 158, in <module>
from . import fft
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\fft\__init__.py", line 15, in <module>
import mkl_fft._numpy_fft as _nfft
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 780, in get_code
File "<frozen importlib._bootstrap_external>", line 832, in get_data
PermissionError: [Errno 13] Permission denied: 'C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\lib\\site-packages\\mkl_fft\\__init__.py'

 

I am guessing Spyder installed numpy that wasn't esri friendly based on this output just wondering if anyone else has seen this issue. It is inhibiting my ability to run simple functions like merge append etc. I will probably have to downgrade to 2.2.4.

Outcomes