wbolster / plyvel

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

install offline using python setup.py install #104

Closed wTuo closed 4 years ago

wTuo commented 5 years ago
[root@TENCENT64 plyvel-master]# make
cython --version
Cython version 3.0a0
cython --cplus --fast-fail --annotate plyvel/_plyvel.pyx
/usr/lib64/python2.7/site-packages/Cython-3.0a0-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:329: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /data/home/buggywang/plyvel-master/plyvel/_plyvel.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)

Error compiling Cython file:
------------------------------------------------------------
...
# distutils: language = c++

from libc.string cimport const_char

from leveldb cimport Comparator
^
------------------------------------------------------------

plyvel/comparator.pxd:5:0: 'leveldb.pxd' not found

Actually, leveldb.pxd indeed exits in the directory plyvel.

wbolster commented 4 years ago

seems you didn't follow the installation instructions from the docs...