ubuntu16.4基本语言和软件安装

//查看opencv版本

pkg-config opencv --modversion

// 升级numpy

 pip install -U numpy -i https://pypi.tuna.tsinghua.edu.cn/simple/

//安装 tensorflow

pip3 install tensorflow-gpu==1.12.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip3 install tensorflow==1.12.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/

//升级pip3

pip3 install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/

//软件升级

pip3 install --upgrade tensorflow-gpu==1.12.0  -i https://pypi.tuna.tsinghua.edu.cn/simple/

//安装roboware

sudo dpkg -i roboware-studio_<version>_<architecture>.deb

//网页无法播放视频

sudo apt install ffmpeg

// 使用ffmpeg打开mp4视频文件

ffplay -autoexit filename.mp4

//安装转视频软件

sudo apt install mjpegtools

// 安装视频拼接库

pip3 install moviepy -i https://pypi.tuna.tsinghua.edu.cn/simple/

//安装rar解压工具。

安装:sudo apt-get install unrar
卸载:sudo apt-get remove unrar

//查询CPU个数:

cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l

//查询核数:

cat /proc/cpuinfo| grep "cpu cores"| uniq

//查询逻辑CPU总数:

cat /proc/cpuinfo| grep "processor"| wc -l

// 查看本机IP地址

ifconfig -a

猜你喜欢

转载自blog.csdn.net/zhngyue123/article/details/106104421
今日推荐