Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where Visual studio install python

I installed Visual Studio 2017 and its support for Python. I want to use Python on other applications and hence I need to put it in the path, but I can not find where VS 2017 installed Python.

Where VS install Python so I can add it to the path?

like image 284
mans Avatar asked Jan 28 '23 13:01

mans


2 Answers

First of all make sure you have actually installed python extension, if you are using Windows you could go to menu start and just search for the phrase python.

If you get any results you could simply right-click it, then press Open file location and you'll see a menu-start folder having the shortcuts to all python resources ex. IDLE (Python 3.7 64-bit), Python 3.7 (64-bit), Python 3.7 Manuals (64-bit), Python 3.7 Module Docs (64-bit).

From this point you can just go into shortcuts properties and see what the target is. With Visual Studio 2019 default install the target of Python 3.7 (64-bit) is

C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe

like image 155
Krzysztof Krzeszewski Avatar answered Jan 30 '23 03:01

Krzysztof Krzeszewski


The Visual Studio installer tells you the location of 3rd-party tools such as python during installation. The default value is C:\Program Files (x86)\Microsoft Visual Studio\Shared

enter image description here

like image 26
Chandresh Avatar answered Jan 30 '23 03:01

Chandresh