Update real-time data with Python API | Learn ArcGIS
So .... import arcpy
fails?
If it fails, then you don't have it installed properly or are using a notebook that doesn't know where arcpy is.
Are you using arcgis pro's installation of jupyter notebooks? or a standalone jupyter notebook or jupyterab.
Thanks.I do the exercise using a spyder. How do I teach him where the package is?
If you installed spyder shortcuts should appear with the following properties.
If not, create a shortcut using the following parameters.
Target
C:\Install path\bin\Python\envs\arcgispro-py3\pythonw.exe "C:\arc_pro\bin\Python\envs\arcgispro-py3\Scripts\spyder-script.py"
Start in
C:\Install path\bin\Python\envs\arcgispro-py3\Scripts
Spyder and its kindred will be found in
C:\Install path\Python\envs\arcgispro-py3\Lib\site-packages
NOTE
\Install path\ is theis the install path for arcgis pro base environment
In you installed in a cloned environment this will need to be changed
....envs\arcgispro-py3\ ..... the last folder .... arcgispro-py3 ... would be your clone name
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.