AnsweredAssumed Answered

ArcPy Permission Denied Errors in ArcGISPro 2.3

Question asked by on Feb 6, 2019
Latest reply on Nov 26, 2019 by

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\", line 20, in <module>
import numpy
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\", line 158, in <module>
from . import fft
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\numpy\fft\", 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\\'


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.