摘要: 首先注意的是,如果在同一个文件夹,可以直接from该类的py文件名然后import这个类 from 文件名 import 类名 如果不在同一个文件使用绝对路径然后import这个类 import sys # 引入sys sys.path.append(r"H:\python\untitled\pak 阅读全文
posted @ 2022-07-09 15:31 TSrobot 阅读(827) 评论(0) 推荐(0)
摘要: 1.首先安装gedit-gmate sudo apt-add-repository ppa:ubuntu-on-rails/ppa --添源加到源列表/etc/apt/sources.list中 sudo apt-get update --更新源列表 sudo apt-get install ged 阅读全文
posted @ 2022-07-04 15:10 TSrobot 阅读(623) 评论(0) 推荐(0)
摘要: 卸载软件 sudo apt-get --purge remove 软件名 (--purge是可选项,写上这个属性是将软件及其配置文件一并删除,如不需要删除配置文件,可执行sudo apt-get remove 包名) 安装软件 sudo apt-get install 软件名 阅读全文
posted @ 2022-07-04 15:00 TSrobot 阅读(111) 评论(0) 推荐(0)
摘要: WARNING: The directory '/home/liao/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disable 阅读全文
posted @ 2022-07-04 14:44 TSrobot 阅读(456) 评论(0) 推荐(0)
摘要: 网上寻找方法,使用甜甜圈烤机时发现显卡核心温度到达了90多摄氏度,明显异常,说明设备需要清灰,更换硅脂,等我更换完显卡硅脂后更新该内容。 八九不离十是因为显卡核心温度过高,是因为硅脂干了。 阅读全文
posted @ 2022-02-15 21:52 TSrobot 阅读(815) 评论(0) 推荐(0)
摘要: 环境:ubuntu20.04 python3.8.10 Ctrl+Alt+t 打开控制面板 输入gedit 打开gedit 打开首选项 选择插件 插入嵌入终端 Python控制台 外部工具 管理外部工具中 新建工具 #!/bin/sh # run the current document in py 阅读全文
posted @ 2022-01-22 21:40 TSrobot 阅读(208) 评论(0) 推荐(0)
摘要: 未安装数据集,使用load_data()函数时,会报错 cifar-10-python.tar.gz: None -- [Errno -3] Temporary failure in name resolution 类似于这种 查看 File "/usr/local/lib/python3.8/di 阅读全文
posted @ 2022-01-21 22:12 TSrobot 阅读(412) 评论(0) 推荐(0)
摘要: 环境: ubuntu20.04 Python3.8.10 whl安装,特点:快 百度链接:链接:https://pan.baidu.com/s/13orpjF-DleAIxwrR0ZZsEg 提取码:f4m5 --来自百度网盘超级会员V1的分享 复制粘贴下载的whl,在对应文件位置打开终端,输入代码 阅读全文
posted @ 2022-01-19 17:31 TSrobot 阅读(376) 评论(0) 推荐(0)
摘要: 链接:https://pan.baidu.com/s/1xPMW-WTP2xkUc0djuJa2lg 提取码:23bg --来自百度网盘超级会员V1的分享 Just My Socks https://justmysocks.net/members/aff.php?aff=19750 阅读全文
posted @ 2022-01-01 14:07 TSrobot 阅读(3) 评论(0) 推荐(0)
摘要: 原因:opencv3.0以上写法变了,还有就是成员函数写的样式也变了 解决方法 CreateEigenFaceRecognizer();改为EigenFaceRecognizer::create(); 阅读全文
posted @ 2021-12-28 13:18 TSrobot 阅读(255) 评论(0) 推荐(0)