在centos7上安装hue4.1.0,执行make app时出错。尽管已经安装了targetcli-fb,但错误日志如下。3.我解不出来,请帮我解
make[2]: Enter the directory “/root/hue-4.1.0/desktop/core”
--- Building egg for cryptography-1.3.1`enter code here`
/root/hue-4.1.0/build/env/lib/python2.7/site-packages/pkg_resources/__init__.py:2510: PEP440Warning: 'targetcli-fb (2.1.fb46)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/root/hue-4.1.0/build/env/lib/python2.7/site-packages/setuptools/sandbox.py", line 238, in run_setup
raise
...
...
File "/root/hue-4.1.0/build/env/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2316, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named setuptools_ext
make[2]: *** [/root/hue-4.1.0/desktop/core/build/cryptography-1.3.1/egg.stamp] error 1
make[2]: Leave the directory “/root/hue-4.1.0/desktop/core”
make[1]: *** [.recursive-install-bdist/core] error 2
make[1]: Leave the directory “/root/hue-4.1.0/desktop”
make: *** [install-desktop] error 2发布于 2019-01-24 14:54:51
我对色调一无所知,但是github上有一个带有“问题”按钮的源代码,你可以在其中填入像“setuptools”这样的关键字;这让我找到了
https://github.com/cloudera/hue/issues/537
看起来这个包需要python-dev
https://stackoverflow.com/questions/48337534
复制相似问题