orcasgit / py-wsse

WS-Security message-level security for SOAP (signing and encryption)
Other
11 stars 18 forks source link

py-wsse installation issue in windows 10 64 bit #15

Open sachinchavan9 opened 6 years ago

sachinchavan9 commented 6 years ago

I was unable to install py-wsse with pip install py-wsse command

bellow is the error occurred

`Collecting py-wsse Collecting xmlsec>=0.3.1.orcas1 (from py-wsse) Using cached xmlsec-1.3.3.tar.gz Collecting pyOpenSSL>=0.15.1 (from py-wsse) Using cached pyOpenSSL-17.5.0-py2.py3-none-any.whl Requirement already satisfied: lxml>=3.4.4 in c:\python27\lib\site-packages (from py-wsse) Requirement already satisfied: pkgconfig in c:\python27\lib\site-packages (from xmlsec>=0.3.1.orcas1->py-wsse) Collecting cryptography>=2.1.4 (from pyOpenSSL>=0.15.1->py-wsse) Using cached cryptography-2.2.2-cp27-cp27m-win32.whl Collecting six>=1.5.2 (from pyOpenSSL>=0.15.1->py-wsse) Using cached six-1.11.0-py2.py3-none-any.whl Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography>=2.1.4->pyOpenSSL>=0.15.1->py-wsse) Using cached cffi-1.11.5-cp27-cp27m-win32.whl Collecting enum34; python_version < "3" (from cryptography>=2.1.4->pyOpenSSL>=0.15.1->py-wsse) Using cached enum34-1.1.6-py2-none-any.whl Collecting asn1crypto>=0.21.0 (from cryptography>=2.1.4->pyOpenSSL>=0.15.1->py-wsse) Using cached asn1crypto-0.24.0-py2.py3-none-any.whl Collecting idna>=2.1 (from cryptography>=2.1.4->pyOpenSSL>=0.15.1->py-wsse) Using cached idna-2.6-py2.py3-none-any.whl Collecting ipaddress; python_version < "3" (from cryptography>=2.1.4->pyOpenSSL>=0.15.1->py-wsse) Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=2.1.4->pyOpenSSL>=0.15.1->py-wsse) Installing collected packages: xmlsec, six, pycparser, cffi, enum34, asn1crypto, idna, ipaddress, cryptography, pyOpenSSL, py-wsse Running setup.py install for xmlsec ... error Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;file='c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\mjdev\appdata\local\temp\pip-5z8tde-record\install-record.txt --single-version-externally-managed --compile: running install running build running build_ext Retrieving "https://ci.appveyor.com/api/buildjobs/tdpx6rprr5431ec9/artifacts/iconv-1.14.vs2008.win32.zip" to "build/extra\iconv-1.14.vs2008.win32.zip" Unpacking iconv-1.14.vs2008.win32.zip into build/extra Retrieving "https://ci.appveyor.com/api/buildjobs/tdpx6rprr5431ec9/artifacts/xmlsec-1.2.24.vs2008.win32.zip" to "build/extra\xmlsec-1.2.24.vs2008.win32.zip" Unpacking xmlsec-1.2.24.vs2008.win32.zip into build/extra Retrieving "https://ci.appveyor.com/api/buildjobs/tdpx6rprr5431ec9/artifacts/libxml2-2.9.4.vs2008.win32.zip" to "build/extra\libxml2-2.9.4.vs2008.win32.zip" Unpacking libxml2-2.9.4.vs2008.win32.zip into build/extra Retrieving "https://ci.appveyor.com/api/buildjobs/tdpx6rprr5431ec9/artifacts/zlib-1.2.8.vs2008.win32.zip" to "build/extra\zlib-1.2.8.vs2008.win32.zip" Unpacking zlib-1.2.8.vs2008.win32.zip into build/extra Retrieving "https://ci.appveyor.com/api/buildjobs/tdpx6rprr5431ec9/artifacts/openssl-1.0.1.vs2008.win32.zip" to "build/extra\openssl-1.0.1.vs2008.win32.zip" Unpacking openssl-1.0.1.vs2008.win32.zip into build/extra Retrieving "https://ci.appveyor.com/api/buildjobs/tdpx6rprr5431ec9/artifacts/libxslt-1.1.29.vs2008.win32.zip" to "build/extra\libxslt-1.1.29.vs2008.win32.zip" Unpacking libxslt-1.1.29.vs2008.win32.zip into build/extra building 'xmlsec' extension creating build\temp.win32-2.7 creating build\temp.win32-2.7\Release creating build\temp.win32-2.7\Release\users creating build\temp.win32-2.7\Release\users\mjdev creating build\temp.win32-2.7\Release\users\mjdev\appdata creating build\temp.win32-2.7\Release\users\mjdev\appdata\local creating build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp creating build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken creating build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec creating build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\constants.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\constants.obj /Zi -Os constants.c c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\libxml2-2.9.4.vs2008.win32\include\libxml/xmlversion.h(277) : warning C4005: 'LIBXML_ICONV_ENABLED' : macro redefinition command-line arguments : see previous definition of 'LIBXML_ICONV_ENABLED' c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\xmlsec-1.2.24.vs2008.win32\include\xmlsec/xmlsec.h(99) : warning C4005: 'XMLSEC_CRYPTO' : macro redefinition command-line arguments : see previous definition of 'XMLSEC_CRYPTO' C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\ds.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\ds.obj /Zi -Os ds.c c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\libxml2-2.9.4.vs2008.win32\include\libxml/xmlversion.h(277) : warning C4005: 'LIBXML_ICONV_ENABLED' : macro redefinition command-line arguments : see previous definition of 'LIBXML_ICONV_ENABLED' c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\xmlsec-1.2.24.vs2008.win32\include\xmlsec/xmlsec.h(99) : warning C4005: 'XMLSEC_CRYPTO' : macro redefinition command-line arguments : see previous definition of 'XMLSEC_CRYPTO' C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\enc.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\enc.obj /Zi -Os enc.c c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\libxml2-2.9.4.vs2008.win32\include\libxml/xmlversion.h(277) : warning C4005: 'LIBXML_ICONV_ENABLED' : macro redefinition command-line arguments : see previous definition of 'LIBXML_ICONV_ENABLED' c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\xmlsec-1.2.24.vs2008.win32\include\xmlsec/xmlsec.h(99) : warning C4005: 'XMLSEC_CRYPTO' : macro redefinition command-line arguments : see previous definition of 'XMLSEC_CRYPTO' C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\exception.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\exception.obj /Zi -Os exception.c c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\libxml2-2.9.4.vs2008.win32\include\libxml/xmlversion.h(277) : warning C4005: 'LIBXML_ICONV_ENABLED' : macro redefinition command-line arguments : see previous definition of 'LIBXML_ICONV_ENABLED' c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\xmlsec-1.2.24.vs2008.win32\include\xmlsec/xmlsec.h(99) : warning C4005: 'XMLSEC_CRYPTO' : macro redefinition command-line arguments : see previous definition of 'XMLSEC_CRYPTO' C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\keys.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\keys.obj /Zi -Os keys.c c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\libxml2-2.9.4.vs2008.win32\include\libxml/xmlversion.h(277) : warning C4005: 'LIBXML_ICONV_ENABLED' : macro redefinition command-line arguments : see previous definition of 'LIBXML_ICONV_ENABLED' c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\xmlsec-1.2.24.vs2008.win32\include\xmlsec/xmlsec.h(99) : warning C4005: 'XMLSEC_CRYPTO' : macro redefinition command-line arguments : see previous definition of 'XMLSEC_CRYPTO' C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\lxml.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\lxml.obj /Zi -Os lxml.c c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\libxml2-2.9.4.vs2008.win32\include\libxml/xmlversion.h(277) : warning C4005: 'LIBXML_ICONV_ENABLED' : macro redefinition command-line arguments : see previous definition of 'LIBXML_ICONV_ENABLED' C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\main.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\main.obj /Zi -Os main.c c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\libxml2-2.9.4.vs2008.win32\include\libxml/xmlversion.h(277) : warning C4005: 'LIBXML_ICONV_ENABLED' : macro redefinition command-line arguments : see previous definition of 'LIBXML_ICONV_ENABLED' c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\xmlsec-1.2.24.vs2008.win32\include\xmlsec/xmlsec.h(99) : warning C4005: 'XMLSEC_CRYPTO' : macro redefinition command-line arguments : see previous definition of 'XMLSEC_CRYPTO' C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\template.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\template.obj /Zi -Os template.c c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\libxml2-2.9.4.vs2008.win32\include\libxml/xmlversion.h(277) : warning C4005: 'LIBXML_ICONV_ENABLED' : macro redefinition command-line arguments : see previous definition of 'LIBXML_ICONV_ENABLED' c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\xmlsec-1.2.24.vs2008.win32\include\xmlsec/xmlsec.h(99) : warning C4005: 'XMLSEC_CRYPTO' : macro redefinition command-line arguments : see previous definition of 'XMLSEC_CRYPTO' C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\tree.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\tree.obj /Zi -Os tree.c c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\libxml2-2.9.4.vs2008.win32\include\libxml/xmlversion.h(277) : warning C4005: 'LIBXML_ICONV_ENABLED' : macro redefinition command-line arguments : see previous definition of 'LIBXML_ICONV_ENABLED' c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\build\extra\xmlsec-1.2.24.vs2008.win32\include\xmlsec/xmlsec.h(99) : warning C4005: 'XMLSEC_CRYPTO' : macro redefinition command-line arguments : see previous definition of 'XMLSEC_CRYPTO' c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\tree.c(177) : warning C4090: 'function' : different 'const' qualifiers c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\tree.c(183) : warning C4090: 'function' : different 'const' qualifiers C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.3 -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_FUNCTION=FUNCTION -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=inline -Ibuild/extra\iconv-1.14.vs2008.win32\include -Ibuild/extra\xmlsec-1.2.24.vs2008.win32\include -Ibuild/extra\libxml2-2.9.4.vs2008.win32\include -Ibuild/extra\zlib-1.2.8.vs2008.win32\include -Ibuild/extra\openssl-1.0.1.vs2008.win32\include -Ibuild/extra\libxslt-1.1.29.vs2008.win32\include -Ic:\python27\lib\site-packages\lxml\includes -Ic:\python27\lib\site-packages\lxml -Ic:\python27\lib\site-packages\lxml\includes\libexslt -Ic:\python27\lib\site-packages\lxml\includes\libxml -Ic:\python27\lib\site-packages\lxml\includes\libxslt -Ic:\python27\include -Ic:\python27\PC /Tcc:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\utils.c /Fobuild\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\utils.obj /Zi -Os utils.c creating build\lib.win32-2.7 C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:build/extra\iconv-1.14.vs2008.win32\lib /LIBPATH:build/extra\xmlsec-1.2.24.vs2008.win32\lib /LIBPATH:build/extra\libxml2-2.9.4.vs2008.win32\lib /LIBPATH:build/extra\zlib-1.2.8.vs2008.win32\lib /LIBPATH:build/extra\openssl-1.0.1.vs2008.win32\lib /LIBPATH:build/extra\libxslt-1.1.29.vs2008.win32\lib /LIBPATH:c:\python27\libs /LIBPATH:c:\python27\PCbuild /LIBPATH:c:\python27\PC\VS9.0 libxmlsec_a.lib libxmlsec-openssl_a.lib libeay32.lib iconv_a.lib libxslt_a.lib libexslt_a.lib libxml2_a.lib zlib.lib WS2_32.lib Advapi32.lib User32.lib Gdi32.lib Crypt32.lib /EXPORT:initxmlsec build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\constants.obj build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\ds.obj build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\enc.obj build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\exception.obj build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\keys.obj build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\lxml.obj build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\main.obj build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\template.obj build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\tree.obj build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\utils.obj /OUT:build\lib.win32-2.7\xmlsec.pyd /IMPLIB:build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\xmlsec.lib /MANIFESTFILE:build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\xmlsec.pyd.manifest iconv_a.lib(iconv1.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance Creating library build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\xmlsec.lib and object build\temp.win32-2.7\Release\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\src\xmlsec.exp Generating code Finished generating code libxslt_a.lib(keys.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(documents.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(preproc.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(attributes.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(pattern.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(extensions.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(xsltlocale.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(attrvt.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(variables.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(security.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(xslt.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(transform.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(xsltutils.obj) : warning LNK4049: locally defined symbol _xmlMalloc imported libxslt_a.lib(numbers.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(functions.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(attributes.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(pattern.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(keys.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(templates.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(variables.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(documents.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(preproc.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(namespaces.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(extensions.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(xsltlocale.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(imports.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(attrvt.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(security.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(xslt.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(transform.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(xsltutils.obj) : warning LNK4049: locally defined symbol _xmlFree imported libxslt_a.lib(variables.obj) : warning LNK4049: locally defined symbol _xmlRealloc imported libxslt_a.lib(pattern.obj) : warning LNK4049: locally defined symbol _xmlRealloc imported libxslt_a.lib(xslt.obj) : warning LNK4049: locally defined symbol _xmlRealloc imported libxslt_a.lib(transform.obj) : warning LNK4049: locally defined symbol _xmlRealloc imported libxslt_a.lib(xsltutils.obj) : warning LNK4049: locally defined symbol _xmlRealloc imported libxslt_a.lib(attrvt.obj) : warning LNK4049: locally defined symbol _xmlRealloc imported libxslt_a.lib(xslt.obj) : warning LNK4049: locally defined symbol _xmlStringTextNoenc imported libxslt_a.lib(transform.obj) : warning LNK4049: locally defined symbol _xmlStringTextNoenc imported libxslt_a.lib(attributes.obj) : warning LNK4049: locally defined symbol _xmlStringTextNoenc imported libxslt_a.lib(transform.obj) : warning LNK4049: locally defined symbol _xmlStringText imported libxslt_a.lib(pattern.obj) : warning LNK4049: locally defined symbol _xmlIsExtenderGroup imported libxslt_a.lib(pattern.obj) : warning LNK4049: locally defined symbol _xmlIsCombiningGroup imported libxslt_a.lib(pattern.obj) : warning LNK4049: locally defined symbol _xmlIsDigitGroup imported libxslt_a.lib(numbers.obj) : warning LNK4049: locally defined symbol _xmlIsDigitGroup imported libxslt_a.lib(pattern.obj) : warning LNK4049: locally defined symbol _xmlIsBaseCharGroup imported libxslt_a.lib(numbers.obj) : warning LNK4049: locally defined symbol _xmlIsBaseCharGroup imported running install_lib copying build\lib.win32-2.7\xmlsec.pyd -> c:\python27\Lib\site-packages running install_egg_info running egg_info writing requirements to xmlsec.egg-info\requires.txt writing xmlsec.egg-info\PKG-INFO writing top-level names to xmlsec.egg-info\top_level.txt writing dependency_links to xmlsec.egg-info\dependency_links.txt reading manifest file 'xmlsec.egg-info\SOURCES.txt' Traceback (most recent call last): File "", line 1, in File "c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\setup.py", line 60, in 'Topic :: Text Processing :: Markup :: XML' File "c:\python27\lib\site-packages\setuptools__init__.py", line 129, in setup return distutils.core.setup(**attrs) File "c:\python27\lib\distutils\core.py", line 151, in setup dist.run_commands() File "c:\python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "c:\python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\python27\lib\site-packages\setuptools\command\install.py", line 61, in run return orig.install.run(self) File "c:\python27\lib\distutils\command\install.py", line 575, in run self.run_command(cmd_name) File "c:\python27\lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\python27\lib\site-packages\setuptools\command\install_egg_info.py", line 34, in run self.run_command('egg_info') File "c:\python27\lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) File "c:\python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "c:\python27\lib\site-packages\setuptools\command\egg_info.py", line 278, in run self.find_sources() File "c:\python27\lib\site-packages\setuptools\command\egg_info.py", line 293, in find_sources mm.run() File "c:\python27\lib\site-packages\setuptools\command\egg_info.py", line 524, in run self.add_defaults() File "c:\python27\lib\site-packages\setuptools\command\egg_info.py", line 567, in add_defaults self.read_manifest() File "c:\python27\lib\site-packages\setuptools\command\sdist.py", line 199, in read_manifest self.filelist.append(line) File "c:\python27\lib\site-packages\setuptools\command\egg_info.py", line 466, in append path = convert_path(item) File "c:\python27\lib\distutils\util.py", line 124, in convert_path raise ValueError, "path '%s' cannot be absolute" % pathname ValueError: path '/home/travis/build/mehcode/python-xmlsec/src/constants.c' cannot be absolute

----------------------------------------

Command "c:\python27\python.exe -u -c "import setuptools, tokenize;file='c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\mjdev\appdata\local\temp\pip-5z8tde-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\mjdev\appdata\local\temp\pip-build-yr1ken\xmlsec`

sachinchavan9 commented 6 years ago

Please trouble shoot this above problem I need to finish my project :(

https://stackoverflow.com/questions/49569566/valueerror-path-home-travis-build-mehcode-python-xmlsec-src-constants-c-cann