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 ライブラリには下位レベルの依存関係がいくつかあるようです。いくつかインストールしましたが、どれも機能していないようです。ヘルプ?