2014-10-22 229 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