

Locate your ArcGIS Pro Python Interpreter Then click “Find.”, which will result in the following window:Ĥ. Choose the first option when it says, “Enter interpreter path…”: The following command palette will drop down, and you should see something like this following screenshot. Press Control + Shift + P and search for “>Python: Select Interpreter”. Change your Python Interpreter back in VS Code So, we need to specify where the Python interpreter is located in the next step.

VS Code does not know Python is installed with ArcGIS Pro. Note: You may get an error message saying Python is not installed. You might see that it installs multiple extensions at once and that is OK. On the leftmost bar, click the last icon at the bottom and search for Python. Don’t worry if your application doesn’t look exactly like the following picture:Ī view of VS Code after successful installation Launch VS Code and it should bring you to the following interface like shown below. Launch VS Code and Install the Python ExtensionĪfter successfully installing the program. Official site page for Visual Studio Code 2. After downloading VS Code, run the application as an administrator and install the program using the default settings. The first step is to download Visual Studio Code from the official website. Note: This is not an official recommendation from Esri Canada to use VS Code, but an example of how you can configure your IDE to work with Python environments in ArcGIS Pro. If you are new to programming and have ArcGIS Pro installed, this article is for you! VS Code is a popular IDE for developers due to its available extensions, IntelliSense code completion, and its general ability to work with other programming languages. This blog post will teach you how to configure your VS Code for ArcGIS Python development. However, to start programming and writing scripts for GIS workflows, an Integrated Development Environment (IDE) is highly recommended. Want to know how to get started with writing Python code for your ArcGIS workflows? Here’s how you can get started by using Visual Studio Code as your IDE.ĪrcGIS API for Python and ArcPy are both popular Python libraries for GIS users interested in automating workflows.
