linux PPOCR c++ cpu 部署 (CentOS)(仅记录)

1 篇文章 0 订阅
1 篇文章 0 订阅

1. Github配置 gedit /etc/hosts

# GitHub520 Host Start
140.82.112.4                  alive.github.com
140.82.112.4                  live.github.com
18.209.111.15                 github.githubassets.com
140.82.112.4                  central.github.com
34.201.170.139                desktop.githubusercontent.com
140.82.112.4                  assets-cdn.github.com
3.235.104.70                  camo.githubusercontent.com
151.101.1.6                   github.map.fastly.net
151.101.1.6                   github.global.ssl.fastly.net
140.82.112.4                  gist.github.com
185.199.108.153               github.io
140.82.112.4                  github.com
192.0.66.2                    github.blog
140.82.112.4                  api.github.com
3.237.13.71                   raw.githubusercontent.com
3.239.234.209                 user-images.githubusercontent.com
54.160.176.190                favicons.githubusercontent.com
44.210.132.239                avatars5.githubusercontent.com
54.162.19.20                  avatars4.githubusercontent.com
34.239.94.223                 avatars3.githubusercontent.com
34.201.249.74                 avatars2.githubusercontent.com
3.237.13.71                   avatars1.githubusercontent.com
18.209.111.15                 avatars0.githubusercontent.com
3.237.202.2                   avatars.githubusercontent.com
140.82.112.4                  codeload.github.com
72.21.206.80                  github-cloud.s3.amazonaws.com
72.21.206.80                  github-com.s3.amazonaws.com
72.21.206.80                  github-production-release-asset-2e65be.s3.amazonaws.com
72.21.206.80                  github-production-user-asset-6210df.s3.amazonaws.com
72.21.206.80                  github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153               githubstatus.com
140.82.114.18                 github.community
52.224.38.193                 github.dev
140.82.112.4                  collector.github.com
3.82.57.248                   pipelines.actions.githubusercontent.com
3.238.70.196                  media.githubusercontent.com
100.26.5.184                  cloud.githubusercontent.com
3.239.202.172                 objects.githubusercontent.com
13.107.213.40                 vscode.dev


# Update time: 2022-10-04T00:08:35+08:00
# Update url: https://raw.hellogithub.com/hosts
# Star me: https://github.com/521xueweihan/GitHub520
# GitHub520 Host End

参考:
(1){github网页可以上但是git clone可能有问题)
/github直连访问方法,长期更新的github hosts - 哔哩哔哩/

(2){github网页图片可能无法正常加载,但gitclone往往没问题}

*2022/10/10 beiyong: https://hosts.gitcdn.top/hosts.txt

2.下载依赖项

sudo yum install vim unrar swig wget patchelf 
pip install numpy protobuf wheel setuptools

cmake安装

cmake 下载和安装_tiankong_hut的博客-CSDN博客_cmake镜像下载

opencv安装

Ubuntu18:使用CMake-gui编译OpenCV3源码的详细过程_地球被支点撬走啦的博客-CSDN博客_cmake-gui opencv

paddle编译配置(centos和ubuntu差异:yum install 和 apt-get install)

Ubuntu 20.04 源码编译Paddle2.2.2_高精度计算机视觉的博客-CSDN博客

paddleocr c++ 部署

ubuntu环境下PaddleOCR 模型的的C++部署方法_xp_fangfei的博客-CSDN博客

3.常见问题

1)cmake 时 Pythonlibs 找不到

cmake命令出错:Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)_明泽.的博客-CSDN博客

2)找不到pip

下载pip or pip3(搜索关键词“pip","安装","软链接")

yum install python3-pip

根据实际路径做链接到 /usr/bin/pip

4)找不到“Python.h"

yum install python3-devel

3)缺少openblas文件

linux平台OpenBLAS编译和安装简介_XZZPPP的博客-CSDN博客_openblas 编译

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值