LoginSignup
2
4

More than 3 years have passed since last update.

pythonの仮想環境構築(windows10)

Posted at

仮想環境構築

以下のコマンドを,自分が作業するディレクトリで入力する.
nameの所は自分で名前を決める.

C:作業したいディレクトリ> python -m venv name

仮想環境実行

以下のコマンドを入力

C:作業したいディレクトリ> name\Scripts\activate

仮想環境を閉じる

(name) PS C:作業したいディレクトリ> deactivate

参考

2
4
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
2
4