在pycharm中 pip install pyahocorasick 执行命令的时候 报的错误。希望大佬能给出解决意见。
ERROR: Command errored out with exit status 1:
command: 'd:\nlp项目\医疗kg_version.amme-master\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users
\\Huawei\\AppData\\Local\\Temp\\pip-install-5dqnr0ej\\pyahocorasick_6f87089166a9460ea4493fd29a633867\\setup.py'"'"'; __file__='"'"'C:\\Users\\Huawe
i\\AppData\\Local\\Temp\\pip-install-5dqnr0ej\\pyahocorasick_6f87089166a9460ea4493fd29a633867\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', op
en)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Use
rs\Huawei\AppData\Local\Temp\pip-record-urrb1pl0\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\nlp项目\医
疗kg_version.amme-master\venv\include\site\python3.6\pyahocorasick'
cwd: C:\Users\Huawei\AppData\Local\Temp\pip-install-5dqnr0ej\pyahocorasick_6f87089166a9460ea4493fd29a633867\
Complete output (9 lines):
running install
running build
running build_ext
building 'ahocorasick' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAHOCORASICK_UNICODE= -Id:\nlp项目\医疗kg_version.amme-master\venv\include -ID:\python36\include -I
D:\python36\include /Tcpyahocorasick.c /Fobuild\temp.win-amd64-3.6\Release\pyahocorasick.obj
error: command 'cl.exe' failed: No such file or directory
----------------------------------------
ERROR: Command errored out with exit status 1: 'd:\nlp项目\医疗kg_version.amme-master\venv\scripts\python.exe' -u -c 'import sys, setuptools, token
ize; sys.argv[0] = '"'"'C:\\Users\\Huawei\\AppData\\Local\\Temp\\pip-install-5dqnr0ej\\pyahocorasick_6f87089166a9460ea4493fd29a633867\\setup.py'"'"
'; __file__='"'"'C:\\Users\\Huawei\\AppData\\Local\\Temp\\pip-install-5dqnr0ej\\pyahocorasick_6f87089166a9460ea4493fd29a633867\\setup.py'"'"';f=get
attr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec
'"'"'))' install --record 'C:\Users\Huawei\AppData\Local\Temp\pip-record-urrb1pl0\install-record.txt' --single-version-externally-managed --compile
--install-headers 'd:\nlp项目\医疗kg_version.amme-master\venv\include\site\python3.6\pyahocorasick' Check the logs for full command output.