gpt4 book ai didi

hadoop - MySQL 是构建 HUE 的先决条件吗?

转载 作者:可可西里 更新时间:2023-11-01 15:03:30 29 4
gpt4 key购买 nike

我正在尝试构建 hue,但到目前为止还没有取得太大的成功。我是收到以下错误消息:

--- Building egg for MySQL-python-1.2.3c1 
sh: mysql_config: command not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in
run_setup
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105,
in run
File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64, in
<lambda>
File "setup.py", line 15, in <module>
metadata, options = get_config()
File "/Users/kramachandran/Sandbox/hue/hue/desktop/core/ext-py/MySQL-
python-1.2.3c1/setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "/Users/kramachandran/Sandbox/hue/hue/desktop/core/ext-py/MySQL-
python-1.2.3c1/setup_posix.py", line 24, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
make[2]: *** [/Users/kramachandran/Sandbox/hue/hue/desktop/core/build/
MySQL-python-1.2.3c1/egg.stamp] Error 1
make[1]: *** [.recursive-env-install/core] Error 2

我将其解释为 MySQL 或 MySQL python 是一个预要求。但是,我没有看到任何与此相关的文档。任何信息,将不胜感激。谢谢

最佳答案

Hue 在 README 上有构建它所需的包列表

您将需要 MySql 开发包,例如带有 Ubuntu 的“libmysqlclient-dev”。

关于hadoop - MySQL 是构建 HUE 的先决条件吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8618331/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com