Open StyXman opened 10 years ago
I had the same problem as above.
$ pip3 install python-lmdb
Collecting python-lmdb
Using cached python-lmdb-1.0.0b1.tar.gz (8.1 kB)
ERROR: Command errored out with exit status 1:
command: /home/duruyao/anaconda3/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hnjunx2y/python-lmdb_df9069ff03f4423d8ec9258a7ce0a08c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-hnjunx2y/python-lmdb_df9069ff03f4423d8ec9258a7ce0a08c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-lzzfo6m8
cwd: /tmp/pip-install-hnjunx2y/python-lmdb_df9069ff03f4423d8ec9258a7ce0a08c/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-hnjunx2y/python-lmdb_df9069ff03f4423d8ec9258a7ce0a08c/setup.py", line 5, in <module>
with open("README.md") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/99/2f/3e88269f265222c50545184387af2400024c184c98150932234711589c7c/python-lmdb-1.0.0b1.tar.gz#sha256=150283ff9c6d3837cf5b5e76d1ac66292471f2a9641b3402c15485f29c0dbfb8 (from https://pypi.org/simple/python-lmdb/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement python-lmdb (from versions: 1.0.0b1)
ERROR: No matching distribution found for python-lmdb
Given that there are no install instructions, I tried the generic ones. First, with pip:
According to the log, I should use
--pre
, so:Which is a verbose version of what I get if I try to install it from the source
.tar.gz
.