![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug and debug
文章平均质量分 57
留小星
持续更新 CV、NLP、语音、地震学领域深度学习相关阅读和学习笔记、手动实现各类深度学习网络结构(CNN、Transformer、GAN、DDPM、LLM)
展开
-
linux安装anaconda失败——[24582] Failed to execute script entry_point
文章目录问题描述:问题原因:解决方法:问题描述:[24582] Failed to execute script entry_point问题原因:一开始我认为将安装包放置在/root目录下不太好,就在wget安装包之后,直接将其剪切到了/opt目录之下了,再去解压和安装anaconda,但是问题就处在这里,文件的剪切会影响其中的一些文件。然后就有上诉报错了。(可能其他人这个报错的原因与我不太相同,欢迎大家说明)解决方法:1、删除anaconda安装包rm -Rf 安装包的名称2、重新下载原创 2020-10-06 22:06:48 · 17921 阅读 · 7 评论 -
linux安装anaconda失败——bunzip2: command not found
报错:Anaconda3-5.3.1-Linux-x86_64.sh: line 353: bunzip2: command not foundtar: This does not look like a tar archivetar: Exiting with failure status due to previous errors由于系统缺少bunzip2包造成的,通过yum安装bzip2包来解决解决方法:yum install bzip2类似的报错都可以按照这种方式解决!!..原创 2020-10-06 21:44:10 · 1633 阅读 · 0 评论 -
(LInux)network网卡重启失败原因及解决方法——转载(漠效)
network网卡重启失败原因及解决方法版权声明:本文为博主(漠效)原创文章,遵循 CC 4.0 BY-SA 版权协议原文链接:http://blog.csdn.net/GX_1_11_real/article/details/82024213今天linux系统突然连不上外网,也ping不通同网络了,使用ip addr查看了一下网卡信息,却发现网卡没了???惊讶之余赶紧查看了一波网络连接方式(NAT)、防火墙是否打开(主机和虚拟机的都看了一下)、网关状态、Vmnet8的ip和VMware中的虚原创 2020-09-18 12:16:12 · 5397 阅读 · 1 评论 -
qt.qpa.screen: QXcbConnection: Could not connect to display. Could not connect to any X display.
记录报错报错原因:在本地登陆服务器,执行程序的可视化界面传递到本地的屏幕之中,但是报错qt.qpa.screen: QXcbConnection: Could not connect to display. Could not connect to any X display.解决方法首先原创 2021-09-12 10:16:11 · 15731 阅读 · 4 评论 -
Docker:Error response from daemon: could not select device driver ““ with capabilities: [[gpu]]
文章目录1. 问题描述1. 问题描述Error response from daemon: could not select device driver ““ with capabilities: [[gpu]]本机运行镜像容器报错:找不到GPU。通常问题在于执行程序需要GPU,但是镜像中是没有GPU的,只能调用...原创 2021-08-31 07:24:33 · 1310 阅读 · 1 评论 -
【DeBug】qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found.
pyqt5在ubuntu中报错一、报错信息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 problem.Avail原创 2021-08-30 19:47:24 · 5660 阅读 · 1 评论 -
segyio报错:Runtime Error trace count inconsistent with file size, trace lengths ... #401
文章目录运行segyio读取segy文件时报错解决方法错误原因参考运行segyio读取segy文件时报错"RuntimeError: trace count inconsistent with file size, trace lengths possibly of non-uniform"解决方法(1)读取文件时加上:endian='little'with segyio.open('test.sgy','r',ignore_geometry=True,endian='little') as原创 2021-08-18 21:55:29 · 1302 阅读 · 0 评论 -
pycharm报错:python error: _pyinterpreterstate_get(): no current thread state python runtime state
1. 报错信息:python error: _pyinterpreterstate_get(): no current thread state python runtime state: unknown2. 个人程序报错原因(不是每个人都是这个原因)anaconda虚拟环境的图形绘制与编译器冲突了3. 解决方法卸载虚拟环境再重新建立一个相同环境(不卸载此环境更换一个interpreter也可以,但是我个人比较喜欢将问题解决好所以还是卸载重装了)卸载环境命令conda remove -n y原创 2021-03-27 16:29:43 · 2452 阅读 · 3 评论 -
python使用pyuic5报错:fatal python error: _pyinterpreterstate_get(): no current thread state python run
python使用pyuic5报错:fatal python error: _pyinterpreterstate_get(): no current thread state python run一、bug描述:使用pyuic5将.ui文件转换为.py文件的时候python报错,pyuic在pycharm中的配置参照PyCharm中Qt Designer+PyUIC配置二、bug修复描述:当前工程使用的python版本问题/python安装位置问题,在创建工程的时候可以使用一个较高版本的pytho原创 2021-03-15 09:37:32 · 1637 阅读 · 0 评论 -
阿里云服务器Ubuntu20.04配置jupyter notebook
阿里云服务器Ubuntu20.04配置jupyter notebook常规步骤:1、conda 切换环境(并非必要),刚安装完anaconda应该只有一个base环境conda activate you_env_name2、生成jupyter Notebook的配置文件jupyter notebook --generate-config3、生成jupyter用户秘钥在cmd中输入python进入python编辑模式,输入以下代码然后连续两次输入相同密码获得秘钥from notebook.原创 2020-11-07 10:36:23 · 1399 阅读 · 0 评论 -
python爬虫(四)——selenium自动填报
文章目录一、selenium自动填报1.流程2.分析3.主要代码4.注意(期间可能出现的报错)二、windows10自动运行程序进行填报说明:由于本次selenium自动化填报的网站需要个人信息、密码、校园网络VPN的支持,所以我将关于个人信息、网址的相关内容进行了隐藏。主要展示填报的方法、流程。一、selenium自动填报1.流程1)登录网站2)跳转到填报页面3)填写内容,提交表单4)关闭提交页面2.分析1)登录网站、填写内容都需要进行信息的传递使用selenium进行控制比较方便2)原创 2020-10-25 14:14:49 · 4202 阅读 · 0 评论 -
debug——python redis的 list ,使用 lrem 删除不了对应的值
redis的list删除值(指定值进行删除)在菜鸟教程中:https://www.runoob.com/w3cnote/python-redis-intro.htmlr.lrem(name, value, num)在name对应的list中删除指定的值参数:name - redis的namevalue - 要删除的值num - num=0,删除列表中所有的指定值;num=2 - 从前到后,删除2个, num=1,从前到后,删除左边第1个num=-2 - 从后向前,删除2个但是实际执行原创 2020-10-16 10:30:18 · 1829 阅读 · 0 评论 -
linux下配置jupyter Notebook
1、conda 切换环境(并非必要)conda activate you_env_name2、生成jupyter Notebook的配置文件jupyter notebook --generate-config3、生成jupyter用户秘钥在cmd中输入python进入python编辑模式,输入以下代码然后连续两次输入相同密码获得秘钥from notebook.auth import passwdpasswd()当然可能报错没有jupyter notebook这个模块,使用pip in原创 2020-10-06 22:32:27 · 3965 阅读 · 0 评论 -
python报错:从xlutils中导入copy函数报错‘module‘ object is not callable‘
python报错:‘module’ object is not callable‘首先明确我遇到这个问题的原因:我需要从xlutils这个python库中导入copy函数用来复制excel文件中的的table但是使用from xlutils import copy再在后面使用copy的时候报错:TypeError Traceback (most recent call last)<ipython-input-19-87761ff1f303> in <module>原创 2020-08-21 18:16:31 · 5064 阅读 · 3 评论