0
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?

仮想環境(venv)を作成する

Posted at

Windowsで仮想環境(venv)を作成する

1. Pythonインストール

Add python.exe to PATHのチェックを忘れない

2. 仮想環境を作成

py -m venv venv

・Pythonのバージョンを指定する場合

3.12 をインストールした場合
py -3.12 -m venv venv

3. 仮想環境をアクティベート

.\venv\Scripts\activate

先頭に(venv)と表示されたらOK

0
0
0

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
0
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?