Does anyone use python 3.4.1 in ArcGIS?
Alice, Python 3.4 will not work with Desktop, just with Pro (64 bit only).
You must use 2.7.x with 10.1/10.2. I advise folks to use the Python installer shipped with ArcGIS from within Desktop unless they have a special reason to do otherwise - it's just a lot safer - so you know you won't break ArcGIS with a version of a library it isn't expecting.
Curtis,
Your reply was with 10.1/10.2 Desktop. This is 5 years later and we are now at 10.7. Is it still the case that 10.7 ArcGIS Desktop (not Pro) is incompatible with Python 3.7.4, which is the latest version of Python at this date?
Thanks Rafael. I'll check it out later...
Alice,I am not using Python 3.4.1, but Python 3.4 has been implemented in ArcGIS Pro. Try your script in Pro and see if it works.
If you are not apart of the beta community for Pro here is more information about how to Sign In | ArcGIS for Professionals
Dan, you are right - it's arc issue. But I need to deal with the difference in geometry calculations in python scripts. I think I'm going to try the VB option. Thanks. Alice
A long time ago I examined this issue and found a bug with the precision when the spatial reference for the shapefile was not defined and Arc... defaulted to single precision rather than double precision. It wasn't a python issue but an arc issue. In the case of shapefiles, circular features and/or arcs are represented as n-gons so there will be some difference in geometry calculations
Thanks Dan. It seems having some issues in my CalculateField python scripts. So, I think to try a newer version of python to see if that can resolve the problems. Alice
Please refer to my earlier discussion:
Inconsistent CalculateField with python vs VB
Just curious as to why 3.4.1 is needed? Is there something that has been added in terms of modules that you need access to? Arc is pretty well tied to 2.7
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.