随笔分类 - Ubuntu
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: 设备上没有空间
摘要:解决办法: 添加最大监控文件数量 临时解决:(重启之后恢复) 命令设置:sudo sysctl fs.inotify.max_user_watches=524288 生效: sudo sysctl -p
阅读全文
pip报错ImportError: cannot import name main
摘要:编辑pip 修改pip文件: 源文件 改为
阅读全文
github 遇到Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts问题解决
摘要:刚开始使用github的时候不是很了解,新手一般的都会遇到这个问题Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts。其实这只是一个警告无伤大雅,继续用就是了,但是
阅读全文
ubuntu 设置github秘钥
摘要:github的SSH配置如下: 一 、 设置Git的user name和email: 二、生成SSH密钥过程:1.查看是否已经有了ssh密钥:cd ~/.ssh如果没有密钥则不会有此文件夹,有则备份删除2.生存密钥: $ ssh-keygen -t rsa -C “youremail@gmail.c
阅读全文
Ubuntu无法连接WiFi
摘要:接着把下载好的驱动复制到lib的firmware中 接着更新一下grub,然后重启
阅读全文
Ubuntu每次启动都显示System program problem detected的解决办法
摘要:每次启动Ubuntu都显示System program problem detected,很烦人,不过修改一个文件就可以。 执行命令: 将enabled=1改为enabled=0保存退出即可
阅读全文
Ubuntu sudo apt-get 安装下载更新软件包命令详解
摘要:sudo apt-get install package 安装软件包sudo apt-get install package - - reinstall 重新安装软件包sudo apt-get -f install 修复安装软件包"-f = ——fix-missing"sudo apt-get re
阅读全文
Ubuntu下修改CMake版本
摘要:https://blog.csdn.net/mdjxy63/article/details/82686504
阅读全文
升级pip后出现ImportError: cannot import name main
摘要:https://blog.csdn.net/accumulate_zhang/article/details/80269313
阅读全文
Ubuntu下更改Python版本
摘要:https://www.jianshu.com/p/9d3033d1b26f 有些命令运行失败,是因为权限不够,前面加上 sudo 首先查看Python默认版本: ubuntu@user~$:python --version Python 2.7 搜索系统是否已经安装Python3.5: ubunt
阅读全文
boot空间不足
摘要:https://blog.csdn.net/suifenghahahaha/article/details/78748846 更新内核https://blog.csdn.net/qq_18683985/article/details/79961378
阅读全文
gettimeofday()函数来得到时间
摘要:gettimeofday()函数的使用方法: 1.简介: 在C语言中可以使用函数gettimeofday()函数来得到时间。它的精度可以达到微妙 2.函数原型: #include<sys/time.h> int gettimeofday(struct timeval*tv,struct timezo
阅读全文
ubuntu下boot分区空间不足问题的解决方案
摘要:https://blog.csdn.net/along_oneday/article/details/75148240 先查看当前内核版本号(防止误删)uname –r查看已经安装过的内核dpkg –get-selections|grep linux删除旧内核(小于1中显示的版本号的内核)sudo
阅读全文
Ubuntu下查看自己的GPU型号
摘要:1、在命令行中输入:lspci 即可看到当前显卡型号。 2、Ubuntu 14.04 安装 Nvidia 私有驱动 sudo apt-get install nvidia-331 3、进行双显卡切换nvidia-settings nvidia-prime 4、运行 nvidia-settings
阅读全文
win+Ubuntu双系统安装和卸载、Ubuntu上OpenCV+ROS环境配置
摘要:卸载Ubuntu:https://blog.csdn.net/yeqiang19910412/article/details/79121581 删除Ubuntu EFI系统分区:https://blog.csdn.net/weixin_39750861/article/details/7982953
阅读全文
浙公网安备 33010602011771号