Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Here is the error i get when i use the import arcpy command in pythonwin:

Traceback (most recent call last): File "", line 1, in ImportError: No module named arcpy

Can any one tell me how to fix this? Thanks.

share|improve this question
    
Sounds like the arcpy module isn't saved to your PYTHONPATH or sys.path. Does it work within ArcMap's Python Window? –  Roy Sep 26 '12 at 15:13
    
Yes i does work inside the Arc10 Arcpy interface –  Jason Sep 27 '12 at 16:40
add comment

1 Answer 1

Are you using the correct version of Python?

My install of ArcGIS 10.1 installed and uses python 2.7, and it looks like you are using 2.6, so it may be the case that arcpy has not been installed for this version of python.

Typically python is installed in the root of your main hard drive, so you can check for a second version of python there.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.