Skip to content
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

Closed
techtonik opened this issue Oct 9, 2015 · 9 comments
Closed

Need a Windows version #36

techtonik opened this issue Oct 9, 2015 · 9 comments

Comments

@techtonik
Copy link

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?

@regner
Copy link

regner commented Nov 20, 2015

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.

@badboy
Copy link
Contributor

badboy commented Nov 20, 2015

So in theory hiredis-py should work on Windows, we even got CI coverage for that.
But because I have no Windows machine and no idea of development on Windows I can't verify whether it works correctly. I rely solely on user input for this.

@regner
Copy link

regner commented Nov 20, 2015

My apologies, the package I was using was pointing to an outdated version of hiredis. The newer versions definitely work on Windows.

@badboy
Copy link
Contributor

badboy commented Nov 20, 2015

Thanks for confirming!

@badboy badboy closed this as completed Nov 20, 2015
@pahaz
Copy link

pahaz commented Feb 21, 2016

Hi, could you please tell me which the hiredis-py version work on windows?

@badboy
Copy link
Contributor

badboy commented Feb 21, 2016

The latest: 0.2.0

@eamigo86
Copy link

eamigo86 commented Mar 3, 2018

I can not install the lastest version (0.2.0) on a windows machine.

@michael-grunder
Copy link
Contributor

Hi what is the error you're getting? I don't have a windows machine but it might provide a clue

@eamigo86
Copy link

eamigo86 commented Mar 4, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants