Mac を Snow Leopard から Lion にアップデートしました。次に、 と をインストールする必要がvirtualenv
ありvirtualenvwrapper
ました。私は両方に使用しましたeasy_install
。また、次のように virtualenvwrapper 設定を .bash_profile ファイルに追加しました。
# virtualenvwrapper settings
export WORKON_HOME="~/virtualenvs"
source "/usr/local/bin/virtualenvwrapper.sh"
しかし、それを調達すると、次のエラーが発生します。
ERROR: Could not create temporary file name. Make sure TMPDIR is set.
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenv has been installed for VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/python and that PATH is set properly.
ご協力ありがとうございました。