![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具
文章平均质量分 53
可可与鱼
这个作者很懒,什么都没留下…
展开
-
(已解决)报错:qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found
问题:ubuntu16.04系统,pycharm运行程序报错:qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this probl原创 2022-03-09 20:38:31 · 4634 阅读 · 6 评论 -
(已解决)win10+ubuntu18.04双系统,ubuntu锁屏后无法唤醒,重启黑屏闪烁无法进入命令行模式
事发经过:台式机双系统 win10 + Ubuntu16.04,大部分时间在Ubuntu16.04下工作。一个不小心(dist-upgrade)升级到了ubuntu18.04后,在一次锁屏后发现再也无法唤醒进入图形界面,只能通过ctrl+alt+F2进入命令行tty模式。即使重装 gdm3 /或 lightdm(分别是18.04和16.04用的图形界面)也不行。查阅资料发现 ubuntu18.04 用的图形界面 gdm3 和 nvidia驱动之间有冲突,心想那就按我ubuntu16.04的老路子,先卸载原创 2022-03-09 20:12:45 · 3266 阅读 · 3 评论 -
(已解决)windows和linux系统中使用 pycharm 时设置打印字体颜色和背景色
linux系统:字体、背景颜色对应数字见链接黑底黄字:print("\033[0;33;40m" "Checking... ")windows系统:用上述命令(40m应该对应黑底)打印出来不知为何是白底,很难看。用以下命令可以去掉背景色。无背景色黄字:print("\033[0;33;1m" "Checking... ")...原创 2022-01-06 12:14:42 · 730 阅读 · 0 评论 -
(已解决) 境内 Ubuntu16.04 下安装 ROS kinetic 时 rosdep update 超时报错: The handshake operation timed out
- 2021.12.9 更新 -系统: Ubuntu 16.04使用有线网, ubuntu源是阿里云镜像源.问题描述:按照官网教程安装 ROS kinetic 时, 在 sudo rosdep init 后进行 rosdep update 时, 频繁报错超时, 原因是连外网 raw.githubusercontent.com 总是超时失败. 这种情况在境外不会发生, 因此ROS官网里的安装教程是解决不了的.失败尝试:尝试以下方法均无效:连手机热点修改超时容限 DOWNLOAD_TIMEOU原创 2021-12-09 12:08:12 · 3265 阅读 · 0 评论 -
(已解决)python读写含中文的json文件时报错或中文显示不正常如“\u56db“ 及 ubuntu系统中用gedit打开json中文显示乱码
1、 python读json文件(含中文)报错报错:UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xcb in position 8: invalid continuation byte解决方法:读文件时 encoding=‘gbk’json_file = 'try.json'with open(json_file, "r", encoding='gbk') as file: json_data = json.load(file)原创 2021-09-07 10:56:53 · 5360 阅读 · 1 评论 -
(已解决)Github pages 报错404无法打开
做好的html网页传到github后,通过xxx.github.io打不开,报错404,经历以下步骤成功解决:1、本地一个文件夹存放index.html及依赖的文件,并新建一个docs文件夹,在里面新建文件:touch CNAME1、建立用于存放网页的 Github repository 时命名为自己 github ID (ID为xxx,则输入xxx.github.io)2、git上传,基本操作git initgit remote add origin http://........xxx.g原创 2021-03-03 20:02:19 · 28991 阅读 · 7 评论