当前位置:网站首页>arm64麒麟安装paddlehub(国产化)
arm64麒麟安装paddlehub(国产化)
2022-08-02 19:51:00 【Maann】
python 版本 3.7
pip install paddlehub
需要 onnx<=0.9,进行源码安装
基础环境:
yum install cmake
yum install protobuf-compiler protobuf # libprotoc-dev
yum install make gcc gcc-c++
pip3 install --upgrade cmake==3.23.2
yum install boost
pip3 install pybind11
源码安装onnx:
git clone https://github.com/onnx/onnx.git
cd onnx
git submodule update --init --recursive
python3 setup.py install
error: onnx/third_party/pybind11/detail/common.h:215:10: fatal error: Python.h: No such file or directory
yum -y install python3-devel python-devel # (ubuntu: python-dev)
参考:https://blog.csdn.net/weixin_35757704/article/details/124852304
https://www.csdn.net/tags/Mtjacg3sOTI2LWJsb2cO0O0O.html
import paddlehub as hub
File “/usr/local/lib/python3.7/site-packages/paddlehub/init.py”, line 31, in
from paddlehub import datasets
File “/usr/local/lib/python3.7/site-packages/paddlehub/datasets/init.py”, line 15, in
from paddlehub.datasets.canvas import Canvas
File “/usr/local/lib/python3.7/site-packages/paddlehub/datasets/canvas.py”, line 23, in
from paddlehub.vision.utils import get_img_file
File “/usr/local/lib/python3.7/site-packages/paddlehub/vision/utils.py”, line 18, in
import cv2
File “/usr/local/lib64/python3.7/site-packages/cv2/init.py”, line 181, in
bootstrap()
File “/usr/local/lib64/python3.7/site-packages/cv2/init.py”, line 153, in bootstrap
native_module = importlib.import_module(“cv2”)
File “/usr/lib64/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
yum install mesa-libGL
边栏推荐
- ShardingSphere-proxy +PostgreSQL实现读写分离(静态策略)
- 【软件工程导论】软件工程导论笔记
- SCANIA SCANIA OTL tag is introduced
- 【LeetCode】1374. 生成每种字符都是奇数个的字符串
- Parse the commonly used methods in the List interface that are overridden by subclasses
- 顺序查找和折半查找,看这篇就够了
- 【 LeetCode 】 1374. Generate each character string is an odd number
- Office2021 安装MathType
- ALV概念讲解
- [AnXun cup 2019] easy_web
猜你喜欢
对话亚洲高校首个博士论文奖-裘捷中丨KDD2022
LeetCode 622 设计循环队列[数组 队列] HERODING的LeetCode之路
4KMILES加入艾盛集团,以更强劲的数字商务能力,加速中国跨境电商的全域全效增长
Three.js入门
TPAMI2022 | TransCL: based on the study the compression of the Transformer, more flexible and more powerful
JWT学习
TodoList案例
Redis cluster configuration
Parse common methods in the Collection interface that are overridden by subclasses
Shell: conditional statements
随机推荐
JWT学习
【LeetCode】622. 设计循环队列
Cannot find declaration to go to
In action: 10 ways to implement delayed tasks, with code!
即时通讯开发移动端网络短连接的优化手段
谷歌竞价机器学习如何去理解?
The so-called fighting skill again gao also afraid of the chopper - partition, depots, table, and the merits of the distributed
【Psychology · Characters】Issue 1
golang源码分析之geoip2-golang
Kali命令ifconfig报错command not found
Caldera(一)配置完成的虚拟机镜像及admin身份简单使用
Parse common methods in the Collection interface that are overridden by subclasses
ShardingSphere-proxy +PostgreSQL实现读写分离(静态策略)
VMware虚拟机无法上网
【LeetCode】1374. 生成每种字符都是奇数个的字符串
太魔人招新啦|快来加入我们吧!
EasyExcel实现动态列解析和存表
GNN教程:图神经网络基础知识!
shell:条件语句
unittest自动化测试框架总结