Comments (6)
Hello,
What's your environment like? Python version? Installed Visual Studio or Build Tools for Visual Studio?
Did you select Windows 8.1 SDK when installing Build Tools for Visual Studio? Windows 8.1 SDK is not selected by default.
This link [1] might be helpful
from hiredis-py.
If you want to install hiredis without conda you can download archive for your win version
https://anaconda.org/conda-forge/hiredis/files
and unpack content of "Lib/site-packages/" to your python "site-packages".
from hiredis-py.
Hi,
I don't have any Windows machine to test on, but these links appear related:
https://stackoverflow.com/questions/50400571/filenotfounderror-microsoft-sdks-windows-v8-1-lib
https://stackoverflow.com/questions/51476784/how-to-install-visual-studio-2015-platformsdk-now
from hiredis-py.
@ifduyue Hi. Thanks for the quick reply. I ran the build tools installer and selected Windows 8.1 SDK and now I get a different error message:
error: command 'cl.exe' failed: No such file or directory
Isn't there a way to make whatever it is that's needed in the Windows 8.1 SDK included in the package / as a separate pypi package / not needed so you don't have to go through a separate installation just to use hiredis-py?
from hiredis-py.
@stavlocker Hello.
This is my vistual studio installation details and pip install hiredis works fine.
Since hiredis-py is a Python C extension, we need C compiler/linker as we install it.
However, if binary wheels are provided, we can install hiredis-py directly without C toolchain. I'm working on this, but I'm a little busy these days. You can try conda for now, conda-forge has built binary wheels for hiredis https://anaconda.org/conda-forge/hiredis https://conda.io/docs/
from hiredis-py.
@stavlocker wheels for windows are available in v0.3.0, could you try it and see if it solves the problem?
from hiredis-py.
Related Issues (20)
- Release for supporting Python 3.10 HOT 9
- Support newest hiredis release 1.1.0
- Source tarballs unavailable on pypi? HOT 5
- Changelog entry missing for 2.1.0
- Support dispatch/manual and tagged releases
- Windows wheels fail to build due to ssize_t redefinition HOT 2
- CI needs to properly account for all buildwheels attempts - at least in some labelled cases HOT 1
- sdsalloc.h doesn't seem to be installed as part of regular hiredis HOT 9
- Support garbage collection in Reader HOT 1
- Tag mismatch for 2.2.3/2.3.0 release HOT 2
- tests/test_asyncio/test_connect.py hangs on Python 3.12
- Release 2.3.0 not available on PyPI HOT 4
- Python 3.12 wheels HOT 2
- Memory leak on hgetall with RESP3 and hiredis HOT 2
- hiredis 2.3.2 probably causes fastapi app crashes HOT 1
- Hiredis cannot be installed on Python 3.13 HOT 1
- CPU spike in python:3.12.2-slim-bookworm, almost Debian image
- Segmentation fault with RESP3 map inside set
- Hiredis Is Failing To Handle `notEnoughData` Keyword Argument
- Return type differs between RESP2/3 for set operations, with hiredis HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hiredis-py.