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.

I am just newly started to look at arcpy and i see that it has good intellisense for system toolboxes by default and also if you import a custom toolbox - the intellisense gets update also - however this seems to only work in arcgis built-in python.

i am trying to setup this in pydev/eclipse - but even though i imported my toolbox stll pydev cannot recognise

toolsNameError: name 'Mytool' is not defined

but if you run it works fine. - i just want to work in pydev and to be able to see the custom tool references also ?

anybody can help

thanks

MJ

share|improve this question
    
See these questions on GIS.se as well. –  Chad Cooper Feb 2 '12 at 14:39

1 Answer 1

You need to include the ESRI all the ArcPy locations in the list in Window->Preferences->PyDev->Interpreter - Python. If that doesn't work then add the Arc installation of Python in your interpreter list (same location - but the box above) and specify that for this project.

share|improve this answer

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.