最終更新:
imagawa_yakata 2011年03月25日(金) 09:49:50履歴
easy_install pip pip install virtualenv pip install virtualenvwrapper
以下のコマンドを実行。fooという名前の環境ができる。
export PIP_DOWNLOAD_CACHE=$HOME/.pip_cache export WORKON_HOME=$HOME/.virtualenvs export PIP_RESPECT_VIRTUALENV=true export PIP_REQUIRE_VIRTUALENV=true . /usr/bin/virtualenvwrapper.sh mkvirtualenv --python=/opt/python2.6/bin/python --no-site-packages foo
fooに入る
$ workon foofooから出る
(foo)$ deactivate参考: http://blog.mitsukuni.org/2010/10/25/python-develo...
コメントをかく