LoginSignup
1
0

More than 5 years have passed since last update.

virtualenv で環境を作成する

Posted at

備忘録として書いていきます。

環境

ミドルウェア バージョン
OS macOS Sierra
Python 3.6.1
pip 9.0.1
virtualenv 15.0.1

実施内容

公式ドキュメントに従って次のコマンドを任意の場所で実行すると以下のようになります。

$ virtualenv ENV
Using base prefix '/Users/<ユーザディレクトリ>/.pyenv/versions/3.6.1'
New python executable in /Users/<ユーザディレクトリ>/Desktop/ENV/bin/python3.6
Also creating executable in /Users/<ユーザディレクトリ>/Desktop/ENV/bin/python
Installing setuptools, pip, wheel...done.

ここでのENVは新しく作る環境のフォルダで、任意の名前をつければその名前でフォルダが作成されます。

参考資料

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