Hello All,
I am working through ESRI's tutorial workflow "Python Scripting for Geoprocessing Workflows". I have downloaded PyCharm and went through the steps in the exercise to configure PyCharms Settings to use the python interpreter available through C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe. However, when I try to access arcpy via the statement "import arcpy" in the PyCharm Python Console, I get the error:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\JetBrains\PyCharm Edu 2019.2\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'arcpy'
Which tells me that it is not finding acrpy in my PATH. Does anyone know how to fix this? Any help is greatly appreciated.
Thank you
Sophia
Sharing with Python since this is an ArcPy question and not ArcGIS API for Python.