简体   繁体   中英

ValueError ['path'] failed building wheel for python-crfsuite

I am trying to install python-CRFSuite using this command:

pip install python-crfsuite

Before this I use

SET VS90COMNTOOLS=%VS140COMNTOOLS%

since I am using Visual studio 2015. After running the installation command i get the following error:

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 

If someone has faced same problem or has installed crfsuite on windows has knowledge about this then please help me solve this error

I tried another workaround. Installed Mingw from this link http://sourceforge.net/projects/mingw/files and then used this link http://versioneye.com/python/python-crfsuite/0.8.1 to install pycrfsuite using the command :
pip install https://pypi.python.org/packages/source/p/python-crfsuite/python-crfsuite-0.8.1.‌​tar.gz
and it worked!! I don't understand exactly why though

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM