最好使用对应的python版本
pip install easyocr==1.4.1 或者
pip install easyocr==1.4.1 -i https://pypi.tuna.tsinghua.edu.cn/simple/
过程中安装 scikit-image 提示需要c++ 14,直接下载whl
直接在 https://pypi.tuna.tsinghua.edu.cn/simple/scikit-image/scikit_image-0.18.3-cp39-cp39-win_amd64.whl 下载cp39版本whl
直接在 https://pypi.tuna.tsinghua.edu.cn/simple/torch/torch-1.8.1-cp39-cp39-win_amd64.whl 下载cp39版本whl
直接在 https://pypi.tuna.tsinghua.edu.cn/simple/torchvision/torchvision-0.9.1-cp39-cp39-win_amd64.whl 下载cp39版本whl
pip install scikit_image-0.18.3-cp39-cp39-win_amd64.whl
pip install torch-1.8.1-cp39-cp39-win_amd64.whl
pip install torchvision-0.9.1-cp39-cp39-win_amd64.whl
安装完后,再安装easyocr
pip install easyocr==1.4.1
测试:
cmd -> python
import easyocr
read

在Windows环境下,使用Python 3.9安装easyocr 1.4.1的详细步骤。包括从特定源下载scikit-image、torch和torchvision的whl文件,并解决依赖问题。安装完成后,通过代码测试了easyocr的读取文本功能。
最低0.47元/天 解锁文章
1619

被折叠的 条评论
为什么被折叠?



