1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

VSCodeでPython仮想環境のデフォルトインタプリタを設定する

Posted at

前提

VSCode:1.65.2
Pyrhon Extention:v2022.2

方法

setting.jsonにpython.defaultInterpreterPathを設定する。

setting.json
{
    python.defaultInterpreterPath : "C:\\仮想環境までのPath\\Scripts\\python.exe"
}
1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?