easyocr 1.4.1 python 3.9 windows

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

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

最好使用对应的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 ea

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值