Good morning,
I have in my desktop ArcGIS Pro 3.3.2
What will be the best way to reinstall Python 3?
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
any luck?
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'
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
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