0
1

More than 1 year has passed since last update.

venvでのpython仮想環境の作成コマンド

Posted at

venv仮想環境作成備忘録

仮想環境の作成

python -m venv env

もしくは

python3 -m venv env

仮想環境の有効化

windows(powershell)の場合

windows
env\Scripts\Activate.ps1

linuxの場合

linux
source env/bin/activate

仮想環境の無効化

deactivate
0
1
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
1