在ubuntuhadoop单机版上安装hue时找不到saml2模块

ajsxfq5m  于 2021-06-02  发布在  Hadoop
关注(0)|答案(1)|浏览(279)

我安装了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
sshcrbum

sshcrbum1#

这是几分钟前用https://github.com/cloudera/hue/commit/326eccd89cb2e4d3c3d5c07ab14fb0fde21858da,你能给师父再定一个基准吗?

相关问题