Search code examples
pythonpipcythonsnappy

Error while installing python-snappy


I'm basically trying to install a package that requires snappy compiled in c for speed. I have already downloaded and installed the required compiler from here https://www.microsoft.com/en-au/download/details.aspx?id=44266.

This https://i.sstatic.net/2ZfK1.jpg is the error I'm getting.

I can't figure out why it's not able to get stdint.h. It should come with the compiler right?

Any tips would be appreciated.


Solution

  • Similar error seen in: https://github.com/FSX/misaka/issues/49

    User solved the problem doing:

    1. Download Visual C++ for Python from https://www.microsoft.com/download/details.aspx?id=44266
    2. Copy stdint.h to installation path\VC\include