在ubuntu hadoop standalon上安装HUE时找不到模块saml2

2024-09-25 00:36:36 发布

您现在位置:Python中文网/ 问答频道 /正文

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

/Hue/“make apps”中的最后几行代码是:

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

Tags: inpycoreimportsrchadoophomemake