python - 在 ubuntu hadoop 独立安装 HUE 时找不到模块 saml2

标签 python hadoop makefile hue

我已经安装了 libsaml 包,但 make 仍然失败。我是 python 的新手,绝对路径的东西,一般的 python 模块的东西,但我想学习它! 任何提示将不胜感激!提前致谢。

/Hue/“制作应用程序”中的最后几行代码是这样的:

Installed /home/hadoop/hue/desktop/libs/indexer/srcmake[2]: Leaving directory /home/hadoop/hue/desktop/libs/indexer'
Regenerating database at /home/hadoop/hue/desktop/desktop.db
Syncing/updating database at /home/hadoop/hue/desktop/desktop.db
Traceback (most recent call last):
  File "/home/hadoop/hue/desktop/core/src/desktop/manage_entry.py", line 41, in entry
 from desktop import settings, appmanager
  File "/home/hadoop/hue/desktop/core/src/desktop/settings.py", line 212, in <module>
_lib_conf_modules = [dict(module=app.conf, config_key=None) for app in appmanager.DESKTOP_LIBS if app.conf is not None]
File "/home/hadoop/hue/desktop/core/src/desktop/appmanager.py", line 174, in conf
return self._submodule("conf")
File "/home/hadoop/hue/desktop/core/src/desktop/appmanager.py", line 193, in _submodule
return _import_module_or_none(self.module.__name__ + "." + name)
File "/home/hadoop/hue/desktop/core/src/desktop/appmanager.py", line 53, in _import_module_or_none
__import__(module)
File "/home/hadoop/hue/desktop/libs/libsaml/src/libsaml/conf.py", line 23, in <module>
import saml2
ImportError: No module named saml2
make[1]: *** [/home/hadoop/hue/desktop/desktop.db] Error 1
make[1]: Leaving directory '/home/hadoop/hue/desktop'
make: *** [desktop] Error 2

最佳答案

这是几分钟前用 https://github.com/cloudera/hue/commit/326eccd89cb2e4d3c3d5c07ab14fb0fde21858da 修复的, 你能改成 master 吗?

关于python - 在 ubuntu hadoop 独立安装 HUE 时找不到模块 saml2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26877688/

相关文章:

python - 如何在 ModelResource django-import-export 中获取请求

python - 没有名为 psycopg2 的模块

java - HBase PerformanceEvaluation,如何分配columnFamily和列名?

makefile - 没有依赖项表达式的Makefile规则

python - Flask 中的速度优化

python - 如何对 pandas DF 条目和进度列值进行分组?

java - 在hadoop中,如何获取值中的最后一个元素

scala - 尽管文件大小超出了执行器内存,但如何使用一个分区将数据帧写入 csv 文件

c - 更改configure.ac后如何重建openssh 5.2p1

c++ - 在 R 包中强制重建源代码