在cyrussasl构建在Linux上之后,Python/pip无法看到sasl.h fi

2024-05-15 01:05:45 发布

您现在位置:Python中文网/ 问答频道 /正文

注意:我无法安装libsasl2 dev,因为我没有管理员权限。你知道吗

我建立了cyrus-sasl-2.1.26。焦油.gz地址:

./configure --prefix=/home/username/sasl
make install 

现在有了头文件:

[username@hostnamebin]$ ls ~/bin/include/sasl
hmac-md5.h  md5global.h  md5.h  prop.h  sasl.h  saslplug.h  saslutil.h

但皮普还是出错了:

./python -m pip install /tmp/sasl-0.2.1.tar.gz

sasl/saslwrapper.h:22:23: error: sasl/sasl.h: No such file or directory

有没有办法让Python/pip看到我的构建而不是默认的头文件?你知道吗


Tags: installpipdev权限头文件configure地址管理员

热门问题