Home > Back-end >  [for] about win10 under PIP install pyahocorasick problem
[for] about win10 under PIP install pyahocorasick problem

Time:11-17


Python version 3.7.2, also installed MicrosoftVCTools (2015), but it is always an error, to pyahocorasick in making the original url below also somebody is the problem, but in the end we couldn't see solutions,
Specific:
Collecting pyahocorasick
Using cached https://files.pythonhosted.org/packages/f4/9f/f0d8e8850e12829eea2e778f1c90e3c53a9a799b7f412082a5d21cd19ae1/pyahocorasick-1.4.0.tar.gz
Installing collected packages: pyahocorasick
Running the setup. Py install for pyahocorasick... The error
Complete the output from the command c: \ python \ python exe - u - c "import setuptools, tokenize; __file__='C: \ \ Users \ \ JOHNAR ~ 1 \ \ AppData \ \ Local \ \ Temp \ \ PIP - install - 6 _oslzvs \ \ pyahocorasick \ \ setup py'; F=getattr (tokenize, 'open', the open) (__file__); Code=f.r ead (). The replace (' \ r \ n ', '\ n'); F. lose (); Exec (compile code, a __file__, 'the exec ()) "install - record C: \ Users \ JOHNAR ~ 1 \ AppData \ Local \ Temp \ PIP - record - qgyiwrnq \ install - record. TXT - single - version - externally - managed - compile:
Running the install
Running the build
Running build_ext
Building 'ahocorasick extension
Creating the build
Creating the build \ temp. Win - amd64-3.7
Creating the build \ temp. Win - amd64-3.7 \ Release
Cl. Exe/c/nologo/weather/the W3/GL/DNDEBUG/MD - DAHOCORASICK_UNICODE=- Ic: \ python \ include - Ic: \ python \ include/Tcpyahocorasick c/Fobuild \ temp. Win - amd64-3.7 \ Release \ pyahocorasick obj
Error: the command 'cl. Exe' failed: No to the file or directory

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
The Command "c: \ \ python python. Exe - u - c" import setuptools, tokenize; __file__='C: \ \ Users \ \ JOHNAR ~ 1 \ \ AppData \ \ Local \ \ Temp \ \ PIP - install - 6 _oslzvs \ \ pyahocorasick \ \ setup py'; F=getattr (tokenize, 'open', the open) (__file__); Code=f.r ead (). The replace (' \ r \ n ', '\ n'); F. lose (); Exec (compile code, a __file__, 'the exec ()) "install - record C: \ Users \ JOHNAR ~ 1 \ AppData \ Local \ Temp \ PIP - record - qgyiwrnq \ install - record. TXT - single - version - externally - managed - compile" failed with the error code 1 in C: \ Users \ JOHNAR ~ 1 \ AppData \ Local \ Temp \ PIP _oslzvs \ pyahocorasick \ install - 6

CodePudding user response:

You can refer to the https://blog.csdn.net/weixin_41104835/article/details/89024861

CodePudding user response:

The building Lord solved?
  • Related