LoginSignup
16
16

More than 3 years have passed since last update.

virtualenvを始める(Windows)

Posted at

とりあえず最初の一歩です。

virtualenvをインストール

$pip install virtualenv

仮想環境を作る

仮想環境を入れるフォルダを作成

$python -m virtualenv py37(任意の名前)

仮想環境を作る

ここではpython3.7でやってます。

$python -m virtualenv --python=C:\"pythonのあるディレクトリ"\python.exe py37

仮想環境の起動・停止

↓起動

py37\Scripts\activate

↓停止

py37\Scripts\deactivate
16
16
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
16
16