I have noticed increased speed in geoprocessing between ArcMap and pro. Are the same increases apparent after migrating a python script using arcpy functions from the ArcMap compatible 2x version to the Pro compatible 3x version? I have a script that is working in 2x but takes a couple of days to run. I am trying to see if it is worth the hassle to convert it to 3x. I have started the process and keep running into issues getting the new script to run correctly.
If you can wait until Python 3.6... dictionaries and a variety of other things are now faster
I found that my arcpy 2.x script did ru faster in pro. Many times no tweaks were required. The exception would be if using a map document like CURRENT which would require changes.
As the others have suggested, it would help to know a few more details.
In addition to Dan's suggestion, it is also helpful to provide specifics about the issues you are running into.
run py2to3 on your script, it will fix the pure python stuff. The arcpy stuff isn't handled of course. In theory your python IDE shouldn't matter at all
I am running it on a desktop machine. I usually use PyScripter but am transitioning to PyCharm.
Are you running the script on a desktop machine or a server? If a server what version is it?
https://community.esri.com/community/developers/gis-developers/python?sr=search&searchId=b4f2b5b5-c232-4308-b25e-10aa970341b9&searchIndex=5 https://community.esri.com/community/gis/applications/arcgis-pro?sr=search&searchId=e71d2650-08c8-4400-914e-75a2c15cd711&searchIndex=0 for better visibility.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.