python 安装superset:error: Setup script exited with error: command 'gcc' failed with exit status 1

python 安装superset

错误提示如下:

atal error: sasl/sasl.h: No such file ordirectory

 #include <sasl/sasl.h>

                       ^

compilation terminated.

error: Setup script exited with error:command 'gcc' failed with exit status 1

解决办法:

经查发现是没有安装sasl的开发库,所以需要安装下,stackoverflow上说安装一个libsasl2-dev,用yum没找到,然后使用sasl和dev关键字筛选了下,得到了一个libgsasl-devel,然后就装上试了试,就ok了。

yum install libgsasl-devel

yum install cyrus-sasl-devel.x86_64



猜你喜欢

转载自blog.csdn.net/zeng133/article/details/76677870