sasl/saslwrapper.cpp:8:22: fatal error: pyconfig.h: No such file or directory #include "pyconfig.h" ^ compilation terminated. error: command 'gcc' failed with exit status 1
继续找问题,回到这一步
1
ImportError: libsasl2.so.2: cannot open shared object file: No such file or directory
解决方案
1 2 3
Sometimes these version problems can be resolved by creating a symbolic link with another version of the same library. If you have libsasl2.so installed, create a linked file libsasl2.so.2 for the same: