Select to view content in your preferred language

How to Set up Python/ArcPy with ArcGIS Pro and Visual Studio

229
1
Jump to solution
3 weeks ago
Labels (1)
JoseSanchez
Regular Contributor

Good afternoon,

I am looking for information about how to set up Python/ArcPy with ArcGIS Pro and Visual Studio

Thanks

0 Kudos
1 Solution

Accepted Solutions
JoseSanchez
Regular Contributor

Found it:

installation - Setting up Python/ArcPy with ArcGIS Pro and Visual Studio? - Geographic Information S...

 

"

n Visual Studio open the Python Environments window, click "+ Custom..." and select "Configure".

Give the new environment a name e.g. Python 64-bit 3.5 ArcPy and populate the path fields with the path above, specifying the relevant file in that path for each field.

  • Prefix Path: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\
  • Interpreter Path: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe
  • Windowed Interpreter: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\pythonw.exe
  • Library Path: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib
  • Language Version: 3.5
  • Architecture: 64-bit

Click Apply on the right."

 

 

View solution in original post

0 Kudos
1 Reply
JoseSanchez
Regular Contributor

Found it:

installation - Setting up Python/ArcPy with ArcGIS Pro and Visual Studio? - Geographic Information S...

 

"

n Visual Studio open the Python Environments window, click "+ Custom..." and select "Configure".

Give the new environment a name e.g. Python 64-bit 3.5 ArcPy and populate the path fields with the path above, specifying the relevant file in that path for each field.

  • Prefix Path: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\
  • Interpreter Path: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe
  • Windowed Interpreter: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\pythonw.exe
  • Library Path: C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib
  • Language Version: 3.5
  • Architecture: 64-bit

Click Apply on the right."

 

 

0 Kudos