pip 安裝 lxml 出錯

  用pip安裝 lxml 總是出錯,在公司安裝了 wheel,從 http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml 下載了lxml的whl包,pip insall lxml 就能夠了。python

在家裏如法炮製,結果總是提示 lxml-3.6.4-cp34-cp34m-win32.whl is not a supported wheel on this platform , 試了64位包和32包都不行,沒辦法了,this

只能手動安裝,將下載的whl包重命名 lxml-3.6.4-cp34-cp34m-win32.rar 解壓獲得 lxml文件夾,拷貝放入Python34\Lib\site-packages 便可,搞定,收工。orm

相關文章
相關標籤/搜索