Python,使用Anaconda安装Levenshtein,出现: Failed building wheel for xxx错误

出现原因:缺失相应的whl文件。 

解决办法:下载并安装对应的whl文件。

点击下方链接,即可找到并下载相对应的whl文件: 

 

Unofficial Windows Binaries for Python Extension Packages 

 

例如,出现“ Failed building wheel for python_Levenshtein”则下载相应python版本的python_Levenshtein文件。 

 

我用的是Python3.5版本,则找到python_levenshtein-0.12.0-cp35-cp35m-win_amd64.whl文件进行下载即可。

用pip install “文件路径+whl文件名”即可成功安装对应的whl文件。

 

比如:pip install D:\ruanjian\python\python_Levenshtein-0.12.0-cp35-cp35m-win_amd64.whl

 

 

转自:https://blog.csdn.net/pengzhisen123/article/details/79049834/

你可能感兴趣的:(Python,莱文斯坦,蟒蛇)