Help us understand the problem. What is going on with this article?

Virtualenvを使いたい!

More than 1 year has passed since last update.

やりたいこと

プロジェクトごとにライブラリを分けたい!

環境

ubuntu

~/ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"

Pythonのバージョン

Python 3.5.2 (default, Nov 23 2017, 16:37:01) 

pipのバージョン

pip 10.0.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)

virtualenvをpipでインストール

pip install virtualenv

バージョンの確認

~/ virtualenv --version
16.0.0

virtualenvでプロジェクトフォルダを作成

virtualenv -p [Pythonの場所] [プロジェクト名]

virtualenvの環境に入る

. [プロジェクト名]/bin/active

virtualenvの環境から出る

deactivate
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした