как использовать setuptools для установки lupa с python - PullRequest
0 голосов
/ 26 апреля 2018

при установке lupa случаются ошибки.
ENV: python2.7 32bit
vcforpython
Visual Studio 2017 ошибки: C:\Users\wangxin\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -ID:\lupa-1.6\LuaJIT-2.0.5\src -IC:\Python27\include -IC:\Python27\PC /Tclupa/_lupa.c /Fobuild\temp.win32-2.7\Release\lupa/_lupa.obj _lupa.c C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include\vcruntime.h(96) : warning C4005: '_CRT_STRINGIZE' : macro redefinition C:\Users\wangxin\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\crtdefs.h(180) : see previous definition of '_CRT_STRINGIZE' C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include\vcruntime.h(99) : warning C4005: '_CRT_WIDE' : macro redefinition C:\Users\wangxin\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\crtdefs.h(185) : see previous definition of '_CRT_WIDE' C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include\vcruntime.h(142) : warning C4005: '__CRTDECL' : macro redefinition C:\Users\wangxin\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\crtdefs.h(650) : see previous definition of '__CRTDECL' C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include\vcruntime.h(196) : error C2061: syntax error : identifier '__vcrt_bool' C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include\vcruntime.h(196) : error C2059: syntax error : ';' C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\include\stdint.h(111) : warning C4005: 'WCHAR_MIN' : macro redefinition C:\Users\wangxin\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\wchar.h(43) : see previous definition of 'WCHAR_MIN' error: command 'C:\\Users\\wangxin\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2 помогите! Спасибо

...