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.
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
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:
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
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
That is the point I was trying to make...should you be interested, you should read this thread carefully where you can compare Arc* calculations (using only the class information) versus traditional pure python calculations.
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
Thanks Rafael. I'll check it out later...
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?