xmlsec / python-xmlsec

Python bindings for the XML Security Library.
MIT License
95 stars 99 forks source link

Cannot install on Windows 10 #214

Closed guidros closed 2 years ago

guidros commented 2 years ago

I've tried to install 1.3.12 library version on windows 10 but the installation gives the following error: fatal error C1047: The object or library file 'C:\Users\guidr\AppData\Local\Temp\pip-install-vb4p8xkh\xmlsec_c83a2796c6b84c61ae947515cf2ad097\build\tmp\libs\iconv-1.14.win64\lib\iconv_a.lib' it was created with a different compiler version than other objects, for example 'build\temp.win-amd64-cpython-310\Release\Users\guidr\AppData\Local\Temp\pip-install-vb4p8xkh\xmlsec_c83a2796c6b84c61ae947515cf2ad097\src\constants.obj'; Rebuild all objects and libraries with the same compiler LINK : fatal error LNK1257: code generation failed error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\link.exe' failed with exit code 1257

Anyone could help me for this issue? Thanx

hoefling commented 2 years ago

The 1.3.13 has prebuilt windows wheels for Python 3.10, try those instead.