Hi all,
I am trying to use a python script found here to update hosted services:
Updating your hosted feature services with ArcGIS Pro and the ArcGIS API for Python | ArcGIS Blog
I keep getting the following error:
Any idea why?
Thank you,
Alex
Hi Alex,
You Python IDE may not be configured to use the correct python environment. What IDE are you using?
Try the following:
1. Open a command prompt
2. Set the location to 'C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3'. Ex:
3. Try executing your script from here:
thanks Jake! I tried. but get the same error in the cmd prompt
Jupyter Notebook works perfect.
All updates are in too:
any idea?
I am using the regular IDE provided with ArcGIS.