Skip to main content
Question

How can I resolve "No module named arcgisscripting" resulting from a Shutdown Python Script in a workspace?

  • September 18, 2017
  • 2 replies
  • 73 views

Forum|alt.badge.img

My PYTHONPATH system variable is set to the following and python.exe and pythonw.exe are both in the D:\\apps\\Python\\ArcGIS10.5 folder. This script works fine in the Python window in ArcMAP.

D:\\apps\\Python\\ArcGIS10.5; D:\\apps\\ArcGIS\\Desktop10.5\\bin

2 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • September 18, 2017

Have you tried explicitly pointing the python interpreter to the arcgis dll?

 

 


courtney_m
Contributor
Forum|alt.badge.img+5
  • Contributor
  • September 18, 2017

Do you have the Python Compatibility workspace parameter set to ESRI ArcGIS Desktop, as shown in the following screenshot?

Also, make sure that your script begins with import arcpy.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings