我正在尝试在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库存在一些较低级别的依赖项。我们已经安装了几个,但似乎都没有用。救命?