athos
athos

Reputation: 6405

Can Visual Studio Code point Python Interpreter to the Embedded Version?

After installed Microsoft Visual Studio, I got python 3.6.3, which later can be seen in Visual Studio Code, by command "Python: Select Interpreter".

Also, I downloaded Python 3.7.3 embed-amd64 version and extracted it to C:\python-3.7.3-embed-amd64, inside where there is a python.exe that can be run directly.

Now, is it possible to config Visual Studio Code, so that python 3.7.3 will be an option visible?

Upvotes: 0

Views: 1679

Answers (2)

Amartya Gaur
Amartya Gaur

Reputation: 705

You can add the path to the python executable:

you can find the path by : whereis python command

paste it in the bar where current is written

enter image description here

Upvotes: 1

Hùng Nguyễn
Hùng Nguyễn

Reputation: 629

According to the docs then yes. However, I strongly recommend you to create virtualenv in your workdir using python 3.7.3 that you downloaded.

Upvotes: 0

Related Questions