1.安装Python3.9
到官 下载,按部就班安装就行
Python官 :www.python.org
安装和配置参考:https://baijiahao.baidu.com/sd=1606573927720991570&wfr=spider&for=pc
2.安装PyCharm
进入官 :https://www.jetbrains.com/pycharm/download/#section=windows
安装和配置参考:http://c.biancheng.net/view/5804.html
3.安装paddlepaddle
-
打开cmd,输入命令行python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
(这里听别的同学说输入python -m pip install paddlepaddle也可以,但我没有亲身验证)
-
Python建议需要安装3.9版本,之前安装3.10版本一直不 错,无法成功安装
错:ERROR:Could not find a version that satisfies the requirement paddlepaddle (from versions:none)
ERROR:No matching distribution found for paddlepaddle
错大概是在说安装找不到对应的版本,所以我又换了个3.9版本的python
5.安装Cython
1.打开PyCharm,点击FILE->Setting->Project-> Project interpreter ,再点击旁边的+ ,搜索Cython,点击install,看到安装完毕即可
6.进入padleocr
- 解压压缩文件paddleocr.rar,用pycharm打开
7.打开目标项目
1.还是在terminal界面,cd PPOCRLabel,进入对应文件夹,再输入python PPOCRLabel.py –lang ch
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!