wbolster / plyvel

Plyvel, a fast and feature-rich Python interface to LevelDB
https://plyvel.readthedocs.io/
Other
530 stars 75 forks source link

An error when installing on windows #39

Closed ybaik closed 8 years ago

ybaik commented 9 years ago

I installed 'VCForPython27.msi' for building plyvel on windows 7. But I got the following message. Could you please consider this issue for windows user?

E:\work_python>pip install plyvel Collecting plyvel Using cached plyvel-0.9.tar.gz Building wheels for collected packages: plyvel Running setup.py bdist_wheel for plyvel Complete output from command c:\python27\python.exe -c "import setuptools;file='c:\users\ybaik\appdata\local\temp\pip-build-hljopj\plyvel\setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), f p-wheel-: running bdist_wheel running build running build_py creating build creating build\lib.win32-2.7 creating build\lib.win32-2.7\plyvel copying plyvel_version.py -> build\lib.win32-2.7\plyvel copying plyvel__init.py -> build\lib.win32-2.7\plyvel running build_ext building 'plyvel._plyvel' extension creating build\temp.win32-2.7 creating build\temp.win32-2.7\Release creating build\temp.win32-2.7\Release\plyvel

  plyvel/_plyvel.cpp(352) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
  error: command 'C:\\Users\\YBaik\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
=============================================================================
wbolster commented 8 years ago

Sorry, I don't know anything about Windows. But it looks like you don't have the stdint.h header, which is part of the C standard so it looks like your compiler isn't set up properly.