Using Python - Not a default install

10-03-2011 07:06 AM
New Contributor II
Hello there.  I've got a situation where ArcGIS 10 was installed on a G: drive (instead of on the "C:" drive); the default location is: "G:\Software_Install\Desktop10.0".  Meanwhile, Python 2.6 has been installed at "C:\Python26". 

As you might imagine, I'm unable to use any geoprocessing scripts with this current configuration.  All I get is:  "Import Error: No module named ArcPY".

The "Desktop10.pth" correctly points the locations of the 'ArcPy' and 'Bin' directories (both on the G: drive with the ArcGIS Desktop install).

What is the easiest way for me to use Python geoprocessing scripts in this configuration?

Any help is appreciated.

Tags (2)
0 Kudos
1 Reply
Regular Contributor II
Yeah, if C:\Python26\Lib\site-packages\Desktop10.pth exists and is correct, it should jsut work.

Make sure when you import that you use all lower case (import arcpy)
0 Kudos