Code Monkey home page Code Monkey logo

Comments (6)

ifduyue avatar ifduyue commented on August 20, 2024 1

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

[1] https://stackoverflow.com/questions/43704734/how-to-fix-the-error-windows-sdk-version-8-1-was-not-found

from hiredis-py.

temka1234 avatar temka1234 commented on August 20, 2024 1

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.

michael-grunder avatar michael-grunder commented on August 20, 2024

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.

stavlocker avatar stavlocker commented on August 20, 2024

@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.

ifduyue avatar ifduyue commented on August 20, 2024

@stavlocker Hello.
image
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.

ifduyue avatar ifduyue commented on August 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.