技术标签: deepstrea 深度学习 nvidia nano
1. ModuleNotFoundError: No module named 'gi'
报错
Traceback (most recent call last):
File "deepstream_test_1.py", line 22, in <module>
import gi
ModuleNotFoundError: No module named 'gi'
解决方法
sudo apt install libcairo2-dev libxt-dev libgirepository1.0-dev
pip install pycairo PyGObject
参考链接
python - No module named gi - Stack Overflow
2. gstmodule.c:31:10: fatal error: gst/gst.h: No such file or directory
这个是在运行deepstream_python_apps的示例时遇见的,在make时出问题
报错
make all-recursive
make[1]: Entering directory '/root/gst-python'
Making all in common
make[2]: Entering directory '/root/gst-python/common'
Making all in m4
make[3]: Entering directory '/root/gst-python/common/m4'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/gst-python/common/m4'
make[3]: Entering directory '/root/gst-python/common'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/root/gst-python/common'
make[2]: Leaving directory '/root/gst-python/common'
Making all in gi
make[2]: Entering directory '/root/gst-python/gi'
Making all in overrides
make[3]: Entering directory '/root/gst-python/gi/overrides'
CC _gi_gst_la-gstmodule.lo
gstmodule.c:31:10: fatal error: gst/gst.h: No such file or directory
#include <gst/gst.h>
^~~~~~~~~~~
compilation terminated.
Makefile:504: recipe for target '_gi_gst_la-gstmodule.lo' failed
make[3]: *** [_gi_gst_la-gstmodule.lo] Error 1
make[3]: Leaving directory '/root/gst-python/gi/overrides'
Makefile:401: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/gst-python/gi'
Makefile:481: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/gst-python'
Makefile:412: recipe for target 'all' failed
make: *** [all] Error 2
解决方法
# 我运行apt install libjson-glib-dev后没有解决问题,不确定是否是必需的库,以防万一一起写进来了
apt install libjson-glib-dev
apt install libgstreamer-plugins-base1.0-dev
参考链接
No such file or directory #include <gst/gst.h> - DeepStream SDK - NVIDIA Developer Forums
https://github.com/baedert/corebird/issues/189#issuecomment-48105184
问登记属性 android.permission.ACCESS_CHECKIN_PROPERTIES ,读取或写入登记check-in数据库属性表的权限 获取错略位置 android.permission.ACCESS_COARSE_LOCATION,通过WiFi或移动基站的方式获取用户错略的经纬度信息,定位精度大概误差在30~1500米 获取精确位置 android.p...
OutputCollector调用OutputFormat获得RecordWriter类,然后通过该类的write函数具体实现输出所以要控制输出结果,就要写自己的OutputFormat类,重写RecorWriter类。
ubuntu 12.04 中安装gnome桌面的命令为:sudo apt-get install gnome-session-fallback也可以用:sudo apt-get install gnome-panel在删除unity桌面之前,把ubuntu默认的登录界面改为gnome,设置登录界面为 gnome classic命令如下:sudo /usr/lib/light
错误提示举例2.找到manage repositories,并添加国内源进入setting->Project ->Python interpreterh 后点击 + 号图标,如图然后再出来的窗口左下角中点击Manage Repositories ,点击 + 号图标,在出来的窗口添加阿里云源并删除默认源 ,输入内容为https://mirrors.aliyun.com/pypi/simple/参考文章:https://www.it610.com/article/13052.
Transformer与UNet结合
PHP 超级全局变量超级全局变量在PHP 4.1.0之后被启用, 是PHP系统中自带的变量,在一个脚本的全部作用域中都可用。。。。。。。。。。。PHP 超级全局变量PHP中预定...
1.在pom.xml中引入和配置hibernate3-maven-plugin插件,并引入Hibernate Tools的依赖项目。配置hibernate3-maven-plugin插件:<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>hibernate3-maven-
导读:芯片,又称为集成电路,是计算机等电子设备最重要的功能载体,是中央处理器CPU的“灵魂”!小小的芯片是如何容纳几千万的晶体管?芯片是如何设计和制造的?未来的芯片体积能小到什么程度?如果你也有这样的好奇,一起来涨姿势吧!复杂繁琐的芯片设计流程芯片制造的过程就如同用乐高盖房子一样,先有晶圆作为地基,再层层往上叠的芯片制造流程后,就可产出必要的 IC 芯片(这些会在后面介绍)。然而,没有设计图,拥有再强制造能力都没有用,因此,建筑师的角色相当重要。但是 IC 设计中的建筑师究竟是谁呢?本文接下来要针对
一如既往毫不犹豫百折不挠的使用Google完整匹配将搜索的内容加上双引号,中英文都可以,这样Google就可以完全匹配你的输入了。eg:“MySQL foreign key” ;如果没有加双引号,搜索结果可能只会包含你所输入关键字的部分或是一个,中间会添加或是去掉个别词语。排除匹配 --- (减号-)在你输入关键字的后面紧跟一个减号,在加上需要排除的关键字即可。eg: “MySQL f...
《单片机C语言通用万能编程模板》由会员分享,可在线阅读,更多相关《单片机C语言通用万能编程模板(30页珍藏版)》请在人人文库网上搜索。1、8051单片机C语言编程模板 1.函数头文件22.毫秒级CPU延时函数43.定时/计数器初始化函数54.定时/计数器1中断处理函数65.定时/计数器0中断处理函数76.PWM初始化函数87.PWM0占空比设置函数98.UART串口初始化函数109.UART串口接...
原标题:干货分享:打印机无线连接断开了怎么办?【IT168 技术】现如今,移动办公,移动打印已经成为一种非常成熟、智能的办公应用方式,在日常工作和生活中,我们很多时候可以随处看到各种标配了无线打印的办公设备,这些设备无论是高端的数码复合机,还是中低端的打印设备,还有家庭打印设备,大多数都支持无线打印功能。虽然支持无线打印功能,但是在很多时候,很多用户并不能轻松的驾驭无线打印的应用,或者在出现简单的...
前言日常生活中,微信和qq等一些常用的IM软件必不可少,但是腾讯一直没有提供Linux版本的安装包,为自己的工作和生活增加了不少麻烦,目前可以采用的登录方式有三种,一种是网页版微信登录,但是经常会受到版本的限制而无法扫码登录;第二种是通过deepwine的方式,这种方式步骤比较繁琐,并且安装一来包的时候会不小心把Ubuntu的桌面卸载掉;第三种就是比较简单的方式,采用docker方式安装。下面就具体讲解一下docker方式安装过程docker安装主要用的是以下两个GitHub项目docker-wec