-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a Windows version #36
Comments
Windows support would be very much welcomed. There are a few projects that I am forced to use a remote interpreter for because of just this package not building on windows. |
So in theory hiredis-py should work on Windows, we even got CI coverage for that. |
My apologies, the package I was using was pointing to an outdated version of hiredis. The newer versions definitely work on Windows. |
Thanks for confirming! |
Hi, could you please tell me which the hiredis-py version work on windows? |
The latest: 0.2.0 |
I can not install the lastest version (0.2.0) on a windows machine. |
Hi what is the error you're getting? I don't have a windows machine but it might provide a clue |
Hi @michael-grunder I get a error when try to compile this package: python setup.py build
running build
running build_py
running build_clib
building 'hiredis_for_hiredis_py' library
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" /Tcvendor/hiredis/read.c /Fobuild\temp.win-amd64-3.6\vendor/hiredis/read.obj
read.c
vendor/hiredis/read.c(122): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/read.c(182): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/read.c(261): warning C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data
vendor/hiredis/read.c(262): warning C4244: '=': conversion from '__int64' to 'long', possible loss of data
vendor/hiredis/read.c(317): warning C4244: '=': conversion from '__int64' to 'long', possible loss of data
vendor/hiredis/read.c(513): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" /Tcvendor/hiredis/sds.c /Fobuild\temp.win-amd64-3.6\vendor/hiredis/sds.obj
sds.c
vendor/hiredis/sds.c(60): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(107): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(145): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(227): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(228): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(245): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(246): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(281): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(282): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(327): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(356): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(434): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(455): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(555): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(556): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(581): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(585): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(593): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(601): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(602): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(607): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(614): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
vendor/hiredis/sds.c(638): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\lib.exe build\temp.win-amd64-3.6\vendor/hiredis/read.obj build\temp.win-amd64-3.6\vendor/hiredis/sds.obj /OUT:build\temp.win-amd64-3.6\hiredis_for_hiredis_py.lib
Microsoft (R) Library Manager Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved.
LINK : fatal error LNK1171: unable to load mspdb140.dll (error code: 127)
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\lib.exe' failed with exit status 1171 |
I need to work with https://rtfd.org/ code on Windows and
hiredis
is a single library that fails to install. Is it possible to review and merge redis/hiredis#52 (maybe even partially) so that a wheel for Windows become possible?The text was updated successfully, but these errors were encountered: