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制作应用程序

它适用于塞拉利昂.

相关文章

功能概要:(目前已实现功能)公共展示部分:1.网站首页展示...
大体上把Python中的数据类型分为如下几类: Number(数字) ...
开发之前第一步,就是构造整个的项目结构。这就好比作一幅画...
源码编译方式安装Apache首先下载Apache源码压缩包,地址为ht...
前面说完了此项目的创建及数据模型设计的过程。如果未看过,...
python中常用的写爬虫的库有urllib2、requests,对于大多数比...