我试着安装
$ pip install python-crfsuite
Collecting python-crfsuite
Using cached python-crfsuite-0.8.4.tar.gz
Installing collected packages: python-crfsuite
Running setup.py install for python-crfsuite
Complete output from command c:\users\vlats\appdata\local\programs \python \python35-32\python.exe -c "import setuptools, tokenize;file='C:\Users\Vlats\AppData\Local\Temp\pip-build-k0g40k7c\python-crfsuite\setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record C:\Users\Vlats\AppData\Local\Temp\pip-6zahugn5-record\install- record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win32-3.5
creating build\lib.win32-3.5\pycrfsuite
copying pycrfsuite_dumpparser.py -> build\lib.win32-3.5\pycrfsuite
copying pycrfsuite_logparser.py -> build\lib.win32-3.5\pycrfsuite
copying pycrfsuite__init__.py -> build\lib.win32-3.5\pycrfsuite
running build_ext
building 'pycrfsuite._pycrfsuite' extension
error: [WinError 2] The system cannot find the file specified
命令“c:\ users \ vlats \ appdata \ local \ programs \ python \ python35-32 \ python.exe -c”import setuptools,tokenize; file ='C:\ Users \ Vlats \ AppData \ Local \ Temp \ pip -build-k0g40k7c \ python-crfsuite \ setup.py'; exec(compile(getattr(tokenize,'open',open)(file).read() . replace('\ r \ n','\ n') ,file,'exec'))“install --record C:\ Users \ Vlats \ AppData \ Local \ Temp \ pip-6zahugn5-record \ install-record.txt --single-version-external-managed --compile” C:\ Users \ Vlats \ AppData \ Local \ Temp \ pip-build-k0g40k7c \ python-crfsuite中的错误代码1失败
关于导致错误的原因的任何想法:[WinError 2]系统找不到指定的文件以及编译步骤的后续失败,错误1?
我有什么选择来修复它?或者使用 pip install 不正确安装python-crfsuite的方法?