AnsweredAssumed Answered

Configuring Python IDE with 3.5 installed with ArcGIS Pro

Question asked by boyle.matt on Jun 23, 2017
Latest reply on Jun 23, 2017 by boyle.matt

I'm by far an expert when it comes to, I generally use PyCharm when it comes to writing scripts as I find it to be a great IDE for Python.


I'm starting the process of moving some of my 2.7.x scripts to 3.5.x for use with ArcGIS Pro.  I have configured PyCharm to use the python interpreter packaged with ArcGIS Pro 1.4.1, located at the following: C:\Program Files\ArcGIS\Pro\bin\Python.


However, arcpy is not recognized as an available module.


If I run sys.path from within PyCharm, I get the following paths:


If I run sys.path from within ArcGIS Pro, I get the following paths:


What do I need to do in order to get PyCharm to be able to use arcpy?  Do I need to add system environmental variable paths?  If so, from the list returned in ArcGIS Pro, how many need to be added?


Is there some other way of getting the arcpy module to be recognized within PyCharm?


Is there a best practice that is used with python?