Select to view content in your preferred language

What is the best way to reinstall Python 3

287
4
01-23-2025 06:40 AM
JoseSanchez
Frequent Contributor

Good morning,

I have in my desktop ArcGIS Pro 3.3.2

What will be the best way to reinstall Python 3?

 

4 Replies
DanPatterson
MVP Esteemed Contributor

It is tied into arcgis pro, so their are dependencies that need to come from it.

You could try a repair, or best to just reinstall Pro

How To: Perform a Clean Uninstall and Reinstall of ArcGIS Pro


... sort of retired...
DanPatterson
MVP Esteemed Contributor

any luck?

 


... sort of retired...
0 Kudos
HaydenWelch
MVP Regular Contributor

The ArcGIS environment with arcpy installed is locaded in C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3. If you want to access it from a code editor, you can set that interpreter as your default in VSCode:

CTRL+SHIFT+P >'Python: Select Interpreter'

HaydenWelch_0-1739825845961.png

That way any code you write and run in VSCode will be executed by your ArcGIS default environment. You can also alias that interpreter in your PATH settings, but I'd avoid that if you don't always use Python for Arc as it will not let you pip install to your regular install

0 Kudos
DanPatterson
MVP Esteemed Contributor

C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3

isn't guaranteed,  althought it is the default.

I have often recommended that youinstall it in your own path so that it doesn't have any spaces in it., for example

C:\arc_pro\bin\Python\envs\arcgispro-py3

which requires single user and admin rights, ergo, control over your machine and arc-destiny


... sort of retired...
0 Kudos