Q:python import lmdb 后报错,显示
ModuleNotFoundError: No module named 'lmdb'
A:不要使用conda/pip install lmdb 直接安装,安装指令为以下四选一:
conda install -c conda-forge python-lmdb
conda install -c "conda-forge/label/cf201901" python-lmdb
conda install -c "conda-forge/label/cf202003" python-lmdb
conda install -c "conda-forge/label/gcc7" python-lmdb
python-lmdb 是 LMDB 的 Python 绑定,包括捆绑的 LMDB 的版本。
参考:https://anaconda.org/conda-forge/python-lmdbhttps://blog.csdn.net/abcd740181246/article/details/83046915