leveldb-py
leveldb-py copied to clipboard
pip install on Windows + Python 3.7?
On Windows and Python 3.7,
pip install leveldb-py
gives:
ERROR: Could not find a version that satisfies the requirement leveldb-py (from versions: none)
ERROR: No matching distribution found for leveldb-py
Would it be possible to release a version on PyPI @jtolio ?
I'm sure someone could! That person will have to not be me though. In the meantime, this module is a single file - I suggest just importing it into your codebase directly.
In the meantime, this module is a single file - I suggest just importing it into your codebase directly.
Oh this is perfect, I love single-file libraries for this precise reason, it's easy to import!
On Windows, which .dll or .pyd or similar file has be in the same folder? Where to download it from?
Currently, I have:
File "D:\leveldb-py\leveldb.py", line 59, in <module>
_ldb = ctypes.CDLL(ctypes.util.find_library('leveldb'))
File "C:\Python37\lib\ctypes\__init__.py", line 364, in __init__
self._handle = _dlopen(self._name, mode)
TypeError: LoadLibrary() argument 1 must be str, not None
Oh, I just saw https://github.com/jtolio/leveldb-py/issues/10 and noticed you're also using py3 (good job!). This library was sadly written for py2 and I don't have time to fix it.
try:
pip install lvldb