ArcPy Module not loading in Command Line

4277
12
03-22-2016 12:13 PM
AngelaBozeman
New Contributor III

I installed ArcMap 10.3.1 on a Windows 10 computer (using Python2.7.8) and arcpy imports properly in ArcMap and the Python IDLE but gets hung up when using command line. When importing, the cursor flashes like it's working but nothing ever happens. I have made sure the System properties reflect the path to the python folder and that the Desktop10.3.pth is correct. Any suggestions are appreciated.

Tags (1)
0 Kudos
12 Replies
FredSpataro
Occasional Contributor III

Hi Angela:

One more thing you can test:  run python with the verbose flag.  This will generate a lot of output in the window but should help figure out where the import in sticking:

C:\>c:\Python27\ArcGIS10.3\python.exe -v

0 Kudos
User35489
Occasional Contributor III

Hi,

Try removing/uninstalling application completely and Install from scratch.

Regards

AS

0 Kudos
DanPatterson_Retired
MVP Emeritus

You should clarify which application to uninstall.  Uninstalling ArcMap would accomplish nothing since remnants of one or more versions of python would probably still reside in the system.  Perhaps, a systematic and judicious purging of extra python versions would be prudent.  However, removing applications without an understanding of the root problem generally results in retrieving valuable disk space... but nothing else.