2014-10-22 91 views
8

我试图在Windows 7(64位机器)上安装sasl-0.1.3 python软件包。 这是C1083致命错误。无法在Windows机器上安装sasl-0.1.3 python软件包

看起来像saslwrapper.cpp无法在C++模块中包含sasl/sasl.h库。

enter image description here

请帮我解决这个问题。让我知道你是否需要更多细节。

我在我的机器上安装了Python 2.7。

+1

标识的问题,并在这里找到了解决办法http://www.chriscalender.com/resolving- saslsasl-h-not-found-during-cmake-when-building-mysql-on-windows/ – goks 2014-10-22 15:28:50

回答

18

更简单的方法,我觉得在Windows 7上安装SASL是从这里使用预编译的版本:http://www.lfd.uci.edu/~gohlke/pythonlibs/

有一个直接链接到这里的SASL librairies:http://www.lfd.uci.edu/~gohlke/pythonlibs/#sasl随便挑一个你需要的。

然后你使用PIP安装:

pip install sasl-0.1.3-cp27-none-win_amd64.whl 

希望它能帮助,

卢瓦克

+0

这真的解决了在Windows 7,64位上安装pyhs2的问题,谢谢@loicmathieu。它应该被评为正确的答案。 – 2017-01-09 21:56:12

+0

下载链接已损坏。你可以在这里找到:http://www.lfd.uci.edu/~gohlke/pythonlibs/#sasl – ursuleacv 2017-02-15 23:20:17

+0

谢谢@ursuleacv,我会更新我的答案。 – loicmathieu 2017-02-16 16:38:07