[英]Unable to figure out "No module named 'paddle.fluid'" , this is with regards to the paddleOCR installation on ubuntu 16.04. Details have been provided
File "/robust/envs/robust/lib/python3.9/site-packages/paddleocr/tools/infer/utility.py", line 20, in from paddle.fluid.core import PaddleTensor ModuleNotFoundError: No module named 'paddle.fluid'文件“/robust/envs/robust/lib/python3.9/site-packages/paddleocr/tools/infer/utility.py”,第 20 行,从 paddle.fluid.core 导入 PaddleTensor ModuleNotFoundError: No module named 'paddle.体液'
I am trying to use paddleocr on linux 16.04.我正在尝试在 linux 16.04 上使用 paddleocr。
unfortunately while running this: ocr = PaddleOCR(use_angle_cls=True, lang='en') got this error.不幸的是,在运行此命令时: ocr = PaddleOCR(use_angle_cls=True, lang='en')出现此错误。
Versions:版本:
Python - 3.9 Python - 3.9
paddlepaddle - 2.0.0rc0桨桨 - 2.0.0rc0
pip - 20.3.3 pip - 20.3.3
Here Robust is my virtual env created using conda.这里 Robust 是我使用 conda 创建的虚拟环境。
Unable to solve to issue.无法解决问题。
I found this thread https://github.com/PaddlePaddle/paddle2onnx/issues/36 But this doesn't solve the issue.我找到了这个线程https://github.com/PaddlePaddle/paddle2onnx/issues/36但这并不能解决问题。
While this works fine on win虽然这在获胜时效果很好
Hi you can try the latest the PaddleOCR models, which does not have the problem.您好,您可以尝试最新的 PaddleOCR 模型,它没有问题。
What's more, paddlepaddle with 2.3.1 version is a better choice.更重要的是,2.3.1版本的paddlepaddle是一个更好的选择。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.