[英]ValueError ['path'] failed building wheel for python-crfsuite
我正在嘗試使用此命令安裝python-CRFSuite:
pip install python-crfsuite
在此之前我使用
SET VS90COMNTOOLS=%VS140COMNTOOLS%
因為我使用Visual Studio 2015.運行安裝命令后,我收到以下錯誤:
File "C:\Python34\lib\distutils\msvc9compiler.py", line 287, in query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: ['path']
----------------------------------------
Failed building wheel for python-crfsuite
如果有人遇到同樣的問題或已經在Windows上安裝了crfsuite有關於此的知識,那么請幫我解決這個錯誤
我嘗試了另一種解決方法。 通過此鏈接http://sourceforge.net/projects/mingw/files安裝了Mingw,然后使用此鏈接http://versioneye.com/python/python-crfsuite/0.8.1使用以下命令安裝pycrfsuite:
pip install https://pypi.python.org/packages/source/p/python-crfsuite/python-crfsuite-0.8.1.tar.gz
它工作了!! 我不明白為什么
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.