lmdb module install problem #13042
Replies: 10 comments
-
找到解决办法没? |
Beta Was this translation helpful? Give feedback.
-
no
|
Beta Was this translation helpful? Give feedback.
-
i'm also having this issue, when trying to install paddleocr. Had to downgrade to lower version of python, as lmdb only seems to support up to python 3.11 and I was using python 3.12. |
Beta Was this translation helpful? Give feedback.
-
我也是,怎么搞? |
Beta Was this translation helpful? Give feedback.
-
参看一下这个: |
Beta Was this translation helpful? Give feedback.
-
failed on Py3.12 |
Beta Was this translation helpful? Give feedback.
-
python3.12安装失败. py-lmdb: Using bundled liblmdb with py-lmdb patches; override with LMDB_FORCE_SYSTEM=1 or LMDB_PURE=1. |
Beta Was this translation helpful? Give feedback.
-
py-lmdb 还没有适配 python 3.12, 请参考: jnwatson/py-lmdb#352 里的评论,自行构建 py-lmdb 的 python 3.12 的安装包。 |
Beta Was this translation helpful? Give feedback.
-
The solution is provided in this issue : jnwatson/py-lmdb#352 |
Beta Was this translation helpful? Give feedback.
-
FYI, this is resolved in lmdb 1.6.0 or later. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to download the python lmdb module, but I constantly encounter this problem. Patch-ng module is installed. I also tried Python version 3.12 on older versions.
Collecting lmdb (from paddleocr)
Using cached lmdb-1.4.1.tar.gz (881 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
py-lmdb: Using bundled liblmdb with py-lmdb patches; override with LMDB_FORCE_SYSTEM=1 or LMDB_PURE=1.
Traceback (most recent call last):
File "", line 92, in
ModuleNotFoundError: No module named 'patch_ng'
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Beta Was this translation helpful? Give feedback.
All reactions