当前位置:网站首页>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
边栏推荐
- J9 Digital Currency Theory: Identifying Web3's New Scarcity: Open Source Developers
- What is a Field Service Management System (FSM)?what is the benefit?
- Five data structures of Redis and their corresponding usage scenarios
- ShapeableImageView 的使用,告别shape、三方库
- es DELETE index 源码分析
- 解析List接口中的常用的被实现子类重写的方法
- 基于 flex 布局实现的三栏布局
- Parse common methods in the Collection interface that are overridden by subclasses
- 模板的进阶
- Mysql安装流程 【压缩版】
猜你喜欢
随机推荐
MySQL安装配置教程(超级详细)
一款好用的FAQ搭建工具
Flutter自带国际化适配自动生成方案
移动跨端技术方案分析对比
Electron使用指南之初体验
网络协议介绍
看完这篇,轻松get限流!
You want the metagenomics - microbiome knowledge in all the (2022.8)
实现客户服务自助,打造产品知识库
SQL-UDT是什么功能?
TodoList案例
姑姑:给小学生出点口算题
What is a Field Service Management System (FSM)?what is the benefit?
基于 flex 布局实现的三栏布局
Lvm逻辑卷
笑话:如果你在河边等待得足够久,你会看到你的敌人的尸体漂过,是怎么翻译出来的?
V - memo new instructions
AI科学家:自动发现物理系统的隐藏状态变量
银保监会:人身险产品信披材料应由保险公司总公司统一负责管理
JWT学习