小牛升级后 virtualenvwrapper 的终端问题 [英] Terminal issue with virtualenvwrapper after Mavericks Upgrade

查看:59
本文介绍了小牛升级后 virtualenvwrapper 的终端问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到 OSX Mavericks 后,我在终端中收到此消息:

After upgrading to OSX Mavericks, I am getting this message in the terminal:

/usr/bin/python: No module named virtualenvwrapper
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=/usr/bin/python and that PATH is
set properly.

推荐答案

尝试重新安装 pip 然后重新安装 virtualenvwrapper(我升级到小牛后必须经过这些步骤):

Try reinstalling pip and then reinstalling virtualenvwrapper (I had to go through these steps after upgrading to Mavericks):

$ sudo easy_install pip
$ sudo pip install --upgrade virtualenvwrapper

这篇关于小牛升级后 virtualenvwrapper 的终端问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆