当前位置:首页 > 服务器技术 > apache

python – 在为Apache Hadoop安装Hue浏览器时,Setuptools pip失败,错误代码为1

我正在尝试在我的mac上为Apache Hadoop安装Hue浏览器.所以我检索git文件夹:

git clone https://github.com/cloudera/hue.git

我按照本教程here

但在做make应用程序时,我最终会出现以下错误:

python2.7 /Users/leo/Downloads/hue-3.8.1/tools/virtual-bootstrap/virtual-bootstrap.py     -qq --no-site-packages /Users/leo/Downloads/hue-3.8.1/build/env
Traceback (most recent call last):
File "/Users/leo/Downloads/hue-3.8.1/tools/virtual-bootstrap/virtual-bootstrap.py", line 2355, in <module>
main()
File "/Users/leo/Downloads/hue-3.8.1/tools/virtual-bootstrap/virtual-bootstrap.py", line 827, in main
symlink=options.symlink)
File "/Users/leo/Downloads/hue-3.8.1/tools/virtual-bootstrap/virtual-bootstrap.py", line 995, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "/Users/leo/Downloads/hue-3.8.1/tools/virtual-bootstrap/virtual-bootstrap.py", line 963, in install_wheel
'PIP_NO_INDEX': '1'
File "/Users/leo/Downloads/hue-3.8.1/tools/virtual-bootstrap/virtual-bootstrap.py", line 905, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /Users/leo/Downloads...ld/env/bin/python2.7 -c "import sys, pip; sys...d"] + sys.argv[1:]))" setuptools pip failed with error code 1

我不明白问题是什么.感谢您的帮助.

解决方法:

尝试sudo制作应用程序

它适用于塞拉利昂.


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!