Python Virtualenv - No module named virtualenvwrapper.hook_loader

前端 未结 16 1485
野趣味
野趣味 2020-12-02 06:01

I\'m running Mac OS 10.6.8. and wanted to install in addition to python 2.6 also python 2.7 and use python 2.7 in a new virtualenv. I executed the following steps:

I

16条回答
  •  醉梦人生
    2020-12-02 06:32

    In my case, adding this line into my .zshrc file did the trick,

    export VIRTUALENVWRAPPER_PYTHON=/usr/local/Cellar/python/2.7.13/bin/python2.7
    

提交回复
热议问题