3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

virtualenvwrapper.hook_loaderのエラーの時

Posted at

必要なパッケージ

virtualenv
virtualenvwrapper
どちらもpipからのインストール

どうしてこんなのを出したか

エラーの時, だいたいNoNameだと思う.

virtualenvwrapper.hook_loaderがないとか

コード

そんな時は,

$ python -V
Python *.*.*

これで,出てきたバージョン(*.*.*)を,bashrcに入れる
最初の*.*まで

if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
        export WORKON_HOME=$HOME/.virtualenvs
        export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python*.* # <-ここに入れる
        export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
        source /usr/local/bin/virtualenvwrapper.sh
fi
3
1
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
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?