0

我正在尝试在 AWS linux 服务器上安装 Apache Superset。我创建了一个虚拟环境(2.7 和 3.6)并使用了 Conda 和 Pip,但都失败了。

我让环境启动并运行,只需 pip install superset 并得到这个问题:

Failed building wheel for sasl
Failed to build sasl
Installing collected packages: sasl, thrift-sasl, superset
  Running setup.py install for sasl ... error

In file included from sasl/saslwrapper.cpp:254:0:
    sasl/saslwrapper.h:22:23: fatal error: sasl/sasl.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1

Command "/home/ec2-user/superset/superset_env/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-xpnens/sasl/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-8n1Q7a/install-record.txt --single-version-externally-managed --compile --install-headers /home/ec2-user/superset/superset_env/include/site/python2.7/sasl" failed with error code 1 in /tmp/pip-install-xpnens/sasl/

从阅读来看,sasl 库似乎存在一些较低级别的依赖关系。我们已经安装了几个,但似乎没有一个工作。帮助?

4

0 回答 0