根據公眾號開發檔案上要求,開發前需要安裝web.py、libxml2、libxslt等包。我其他的包都可以安裝成功,但是libxml2、libxslt死活不行。
用python安裝,提示:faild to find headers for libxml2: update includes_dir
用pip 安裝,提示:ERROR: Could not find a version that satisfies the requirement libxml2(from versions:none) Error: No matching distribution found for libxml2
請大佬幫忙指點迷津!非常感謝!
uj5u.com熱心網友回復:
1、升級下 pip2、更換 源
3、換個時間點, 比如美國的休息時間, 北京時間 下午裝裝試試。
參考這篇文章
https://blog.csdn.net/csdn_am/article/details/79924744
uj5u.com熱心網友回復:
十分謝謝你的熱心回復。我看了你推薦的鏈接,按照上面的建議更換了ustc和ali的安裝源,依然提示找不到需要的版本。
網上也百度了一下,我懷疑可能是這個包的二進制編碼的問題,和作業系統有關,估計在windows下就會出現問題。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/142347.html
下一篇:剛學Python
