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

标签 python pip hue

我正在尝试在我的 Mac 上安装适用于 Apache Hadoop 的 Hue 浏览器。所以我检索了 git 文件夹:

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

我遵循了本教程 here

但是在执行 make apps 时,我遇到了以下错误:

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 make apps

它适用于 Sierra。

关于python - 为 Apache Hadoop 安装 Hue 浏览器时,Setuptools pip 失败,错误代码为 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34291661/

相关文章:

python - Ubuntu Buildozer JAVA_HOME 设置为无效目录

python - 有条件地让 pip 根据平台选择不同的版本

python - 如何为 Python 3 安装 bpython?

python - Heroku 上基于 Git 的 pip 依赖项未升级

hadoop - HDFS 是否支持特殊字符(变音符号等)?

hadoop - 将多个变量存储到单个文件中

Python:脚本仅在导入终端时运行。苹果

python - Django:注释每个对象的重复值个数的计数

python - 从脚本访问 S3 存储桶,无需重新配置 AWS CLI

json - HUE上的HIVE编辑器-Hadoop