Home > other >  Python installation pyltp prompt cl. Exe 'failed with the exit status 2.
Python installation pyltp prompt cl. Exe 'failed with the exit status 2.

Time:10-01

Python3.6.3, 64, after install VS2015 and visual studio 2017 community, prompts the cl. Exe 'failed with the exit status 2. Baidu the various methods are tried, still won't do,
in asking you a great god for helpSpecific message is as follows:
D: \ \ pyltp - master> my software; Python setup. Py install
Running the install
Running bdist_egg
Running egg_info
Writing pyltp. An egg - info \ PKG - info
Writing dependency_links to pyltp. An egg - info \ dependency_links. TXT
Their top - level names to pyltp. An egg - info \ top_level. TXT
Reading the manifest file 'pyltp. An egg - info \ SOURCES. TXT'
Reading the manifest the template 'manifest. In'
Warning: no files found matching 'h' under the directory 'LTP \ SRC'
Warning: no files found matching 'h' under the directory 'LTP \ SRC \ framework'
Warning: no files found matching 'HPP' under the directory 'LTP \ SRC \ framework'
Warning: no files found matching 'h' under the directory 'LTP \ SRC \ utils'
Warning: no files found matching 'HPP' under the directory 'LTP \ SRC \ utils'
Warning: no files found matching 'TAB' under the directory 'LTP \ SRC \ utils'
Warning: no files found matching '. CPP 'under the directory' LTP \ SRC \ segmentor '
Warning: no files found matching 'h' under the directory 'LTP \ SRC \ segmentor'
Warning: no files found matching 'HPP' under the directory 'LTP \ SRC \ segmentor'
Warning: no files found matching '. CPP 'under the directory' LTP \ SRC \ postagger '
Warning: no files found matching 'h' under the directory 'LTP \ SRC \ postagger'
Warning: no files found matching 'HPP' under the directory 'LTP \ SRC \ postagger'
Warning: no files found matching '. CPP 'under the directory' LTP \ SRC \ ner '
Warning: no files found matching 'h' under the directory 'LTP \ SRC \ ner'
Warning: no files found matching 'HPP' under the directory 'LTP \ SRC \ ner'
Warning: no files found matching '. CPP 'under the directory' LTP \ SRC \ parser n '
Warning: no files found matching 'h' under the directory 'LTP \ SRC \ parser n'
Warning: no files found matching 'HPP' under the directory 'LTP \ SRC \ parser n'
Warning: no files found matching '. CPP 'under the directory' LTP \ SRC \ SRL '
Warning: no files found matching 'h' under the directory 'LTP \ SRC \ SRL'
Warning: no files found matching 'h' under the directory 'LTP \ thirdparty \ boost'
Warning: no files found matching 'HPP' under the directory 'LTP \ thirdparty \ boost'
Warning: no files found matching '. CPP 'under the directory' LTP \ thirdparty \ boost '
Warning: no files found matching 'ipp' under the directory 'LTP \ thirdparty \ boost'
Warning: no files found matching 'under the directory' LTP \ thirdparty \ eigen '
Warning: no files found matching 'under the directory' LTP \ thirdparty \ dynet '
Warning: no files found matching 'h' under the directory 'LTP \ thirdparty \ maxent'
Warning: no files found matching '. CPP 'under the directory' LTP \ thirdparty \ maxent '
Writing the manifest file 'pyltp. An egg - info \ SOURCES. TXT'
Installing the library code to the build \ bdist win - amd64 \ egg
Running install_lib
Running build_ext
Building 'pyltp extension
D:\VS2017\VC\Tools\MSVC\14.12.25827\bin\HostX86\x64\cl.exe/c/nologo/Ox/W3/GL/DNDEBUG/MD -Iltp/include/-Iltp/thirdparty/boost/include/-Iltp/thirdparty/dynet/-Iltp/thirdparty/eigen/-Iltp/thirdparty/maxent/-Iltp/src/-Iltp/src/splitsnt -Iltp/src/segmentor/-Iltp/src/postagger/-Iltp/src/ner/-Iltp/src/parser.n/-Iltp/src/srl/-Iltp/src/srl/common/-Iltp/src/srl/include/-Iltp/src/srl/Pi/-Iltp/src/srl/Srl/-Iltp/src/srl/tool/-Iltp/src/utils/-Ipatch/include/-ID:\SOFTWARE\Python\include -ID:\SOFTWARE\Python\include -ID:\VS2017\VC\Tools\MSVC\14.12.25827\include "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt"/EHsc/Tpsrc\pyltp.cpp/Fobuild\temp.win-amd64-3.6\Release\src\pyltp.obj/DNOMINMAX/DBOOST_PYTHON_SOURCE/DBOOST_PYTHON_STATIC_LIB/DBOOST_ALL_NO_LIB/D_WINDOWS/EHsc
Pyltp. CPP
Unknown compiler version - both please run the configure tests and report the results
Patch/include/boost/python/detail/caller. HPP (55) : warning C4244: "return" : from "Py_ssize_t" into "unsigned int", may lose data
The SRC \ pyltp CPP (17) : fatal error C1083: cannot open include file: "SplitSentence. H" : No to the file or directory
Error: the command 'D: \ VS2017 \ VC \ Tools \ MSVC \ 14.12.25827 \ bin \ HostX86 \ x64 \ cl exe' failed with the exit status 2

CodePudding user response:

I have been in this way, with the request

CodePudding user response:

The same problem

CodePudding user response:

refer to the second floor qq_28477207 response:
identical problem

I haven't solve

CodePudding user response:

I also is such, someone is solved

CodePudding user response:

reference 4 floor weixin_39534259 response:
I also am such, someone solved?

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related