AnsweredAssumed Answered

ArcGIS Pro & Python set up

Question asked by CCweedcontrol on Oct 27, 2017
Latest reply on Nov 2, 2017 by CCweedcontrol

I am new to ArcGIS Pro, very different from ArcMap. I 've been playing around and trying to get use the new environment. I decided to try a toolbox script that worked in ArcMap (I only installed Pro 2.0.1 i did not add any modules, environments or anything) and I get the following error.

 

Traceback (most recent call last):
  File "D:\GIS Folder\Python Scripts\ZoomToParcel.py", line 11, in <module>
    mxd = arcpy.mapping.MapDocument("CURRENT")
AttributeError: module 'arcpy' has no attribute 'mapping'
Failed to execute (ZoomToParcel).

 

I googled ArcGIS Pro & Python, my apologies I am very confused in some threads i read i need to install python 3.5 and in some indicate that i don't need to.Some threads say i need to add new environments and say i don't need to. I come from ArcMap 10.4.1, I use ArcMap python window and python 2.7.10 IDLE shell. I would like to do the same with Pro. Again i am confused and would like simple instructions on how to get ArcPro python and IDLE Shell working  in Pro. I would appreciate any and all the help i can get.

Outcomes