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.

How would I setup PyCharm to recognize import ArcPy? I'd like to use PyCharm to develop and debug geoprocessing tool.

share|improve this question
    

2 Answers 2

up vote 1 down vote accepted

theJones is correct, close all your projects and go to the program settings and search for Python Interpreters. Then select C:\Python26\ArcGIS10.0\python.exe and it should automatically add arcpy for you.

Pycharm Settings

share|improve this answer

You can do this in the project Structure setting. Just add it as an sdk and it should work. I use intelliJ but pycharm should be the same.

PyCharmDocs

Add this (Use your path) for the sdk path C:\Python26\ArcGIS10.0\python.exe

Give it a name and you should be good. Adding it as a global sdk you should be done and get the code completion.

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.