打字在终端错误在Mac上安装mrjob(OS X 10.11.1)
pip install mrjob
提供了错误信息: “NameError:名称 '的execfile' 没有定义” 和 “命令” 蟒蛇setup.py egg_info “在/私人失败,错误代码1 ...”
使用
sudo pip install mrjob
也给出了同样的错误消息。此外,它给出了以下消息:
Password: The directory '/Users/.../Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/.../Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
如何成功安装?
我无法在OsX上复制10.11.1 =( –