打字在終端錯誤在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 =( –