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.

WSL上に既に構築した仮想環境がVS Codeで一覧に出てこない

Posted at

状況

VS Codeを使っている時にWSL上に既に構築した仮想環境を,
Pythonの実行またはJupyerの実行に使いたいが,なぜか一覧に出てこない.

解決策(自分の場合)

ターミナルではWSLを開いているが,VS Code自体はWSLの環境ではなくローカルの環境だった.
開きたいファイルがWSLのディレクトリ外だったためだと思われる.

なので,
左下の緑のところ → Reopen Folder in WSL
としたらWSLの環境でVS Codeを開きなおしてくれる.

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?