0

I have installed PyCharm Edu and am trying to run a python script calling on ArcPy.

I get an import arcpy module error:

enter image description here

However, when I use the python scripter in ArcGIS Desktop, I see that it is able to find arcpy

enter image description here

I tried finding the actual arcpy folder in C:\Python27\ArcGIS10.3\Lib, but am unable to find it.

Why do I get the arcpy module error on Pycharm?

Is there an installation error in ArcGIS Desktop or PyCharm?

  • You possibly need to reinstall arcpy if it was installed before you installed Pycharm – Midavalo Dec 26 '18 at 16:22
1

Try setting up PyCharm's Interpreter like this:

C:\Python27\ArcGIS10.3\python.exe

  • That path doesnt exist. Only C:\Python27\ArcGIS10.3\lib exists. Is that the problem? – tg110 Dec 26 '18 at 14:22
  • my installation is in version 10.6, i don't know if there's difference, but, check where is the path of 'exe' from python. – Marco Aurélio Dec 26 '18 at 15:30

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