![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题记录
程序猿的向往
这个作者很懒,什么都没留下…
展开
-
【问题记录】MD033/no-inline-html: Inline HTML [Element: iframe]
在VS Code 中写Markdown文件时需要嵌入一段哔哩哔哩视频的链接,视频播放没问题,但是该死的Markdown检查员不乐意了。MarkdownLint提示。我的理解(仅供参考,毕竟四级没过)如果想取消MD033提醒。(我这该死的强迫症)原创 2023-04-05 13:11:39 · 1021 阅读 · 1 评论 -
【问题记录】fatal: unable to access ‘https://github.com/‘: Recv failure: Connection was reset
fatal: unable to access 'https://github.com/Henry-chr/ProgrammerManuel.git/': Recv failure: Connection was reset原创 2023-03-15 23:13:08 · 2567 阅读 · 0 评论 -
【问题记录】VMware虚拟机ping不通宿主机
VMware虚拟机ping不通宿主机原创 2023-02-12 18:03:20 · 949 阅读 · 0 评论 -
【问题记录】TypeError: eval() arg 1 must be a string, bytes or code object
【问题记录】TypeError: eval() arg 1 must be a string, bytes or code object原创 2022-07-26 00:15:36 · 3156 阅读 · 0 评论 -
【Java】The declared package ““ does not match the expected package “JavaFoundation.HelloWorld“
问题描述The declared package "" does not match the expected package "JavaFoundation.HelloWorld"声明的包“”与预期的包“JavaFoundation.HelloWorld”不匹配问题分析未声明包或Java文件位置和package声明不一致Java文件目录:JavaFoundation\HelloWorld\HelloWorld.java那么你的包声明就应该写:package JavaFoundation.原创 2021-11-20 20:49:46 · 6172 阅读 · 1 评论 -
【问题记录】AttributeError: module ‘colorama‘ has no attribute ‘init‘
前言 今天更新了下conda,更新的时候有报错。emmm,没看懂就忽略了,重新启动miniconda时发现报错了。然后就用不了了,这就很头疼。然后各种度娘才解决,以后再也不玩骚操作了问题描述AttributeError: module 'colorama' has no attribute 'init'解决方案 重新下载colorama包替换conda包环境中对应的文件夹,然后重新启动miniconda,搞定colorama下载地址https://pypi.org/project/col原创 2022-03-19 22:13:25 · 3950 阅读 · 3 评论 -
【问题记录】[: missing `]‘
问题描述今天要写一个记录日志的shell,先判断日志文件是否存在,结果运行的时候报错了./log.sh: line 10: [: missing `]'原因分析在linux的判断符号[]中,必须注意中括号的两端要有空格符来分隔解决方案错误代码if [ ! -f /var/log/shell/${date}/log_${date}.log]更新后代码if [ ! -f /var/log/shell/${date}/log_${date}.log ]...原创 2021-11-24 09:32:29 · 661 阅读 · 0 评论 -
【问题记录】warning: LF will be replaced by CRLF in README.md. The file will have its original line ending
前言 今天新建了个仓库,将其压缩到本地,修改Readme.md文件后提交报错了,问了下度娘找到解决方案顺便记录下,希望可以帮到下一位。问题描述warning: LF will be replaced by CRLF in README.md.The file will have its original line endings in your working directory原因分析不同系统对换行符的处理方式不同Windows采用回车+换行符也就是CRLF表示下一行Linux/原创 2021-09-18 20:45:34 · 555 阅读 · 0 评论 -
【问题记录】No module named ‘pip‘
问题描述今天在导入包得时候发现pip不是最新版本,就更新了下pip包。结果居然报错了,吓得我一身冷汗然后再用pip导入包滴时候问题来了No module named 'pip'解决方案莫慌莫慌,下边给大家分享武功秘籍,轻松搞定。python -m ensurepip python -m pip install --upgrade pip如果是本地python环境则直接再命令行执行以上代码就OK如果是Anaconda或miniconda则需要切换到指定得环境然后再执行上原创 2021-08-17 15:55:53 · 69 阅读 · 0 评论 -
【问题记录】The file will have its original line endings in your working directory
问题描述将原有仓库的项目推送到新的仓库时报错The file will have its original line endings in your working directory原因分析windows中的换行符为CRLF,而Linux下的换行符为LF(使用Git命令行Git Bash,实际上就是相当于linux环境),所以在执行git add 操作时,会出现这个错误提示!解决方案第一步由于之前已经添加过git版本控制,所以需要将文件旧的版本控制先移除git rm -r --cac原创 2021-08-16 09:08:24 · 361 阅读 · 0 评论 -
【问题记录】WARNING: This is a development server. Do not use it in a production deployment.
问题描述Environment: productionWARNING: This is a development server. Do not use it in a production deployment.Use a production WSGI server instead.示例代码if __name__ == '__main__': app.run(debug=True)原因分析flask未使用 WSGI 启动,将代码改成使用wsgi启动就行了解决方案方法一f原创 2021-07-20 15:56:56 · 11029 阅读 · 4 评论 -
【问题记录】warnings.warn(‘Application is not loaded correctly (WaitForInputIdle failed)
问题描述warnings.warn('Application is not loaded correctly (WaitForInputIdle failed)示例代码from pywinauto.application import Applicationapp = Application(backend="uia").start("C:\Program Files (x86)\Calibre2\calibre.exe")解决方案卸载它,并重新安装,回滚到0.6.6版本。现在一切都像以原创 2021-07-08 13:51:10 · 1320 阅读 · 2 评论 -
【问题记录】TypeError: expected string or bytes-like object
问题描述Python用正则表达式解析HTML代码时报错:TypeError: expected string or bytes-like object问题分析示例代码bs_xml = BeautifulSoup(a, 'html.parser')tables = re.findall('(<table>.*?</table>)', bs_xml)我们在正则匹配符是字符串类型,而我们获取的HTML类型是bytes,所有报错。解决方案tables = re.finda原创 2021-06-19 11:29:30 · 425 阅读 · 0 评论 -
【问题记录】Message: ‘chromedriver‘ executable needs to be in PATH.
问题描述Message: ‘chromedriver’ executable needs to be in PATH.原因分析Chromedriver没有添加到环境变量,webdriver在启动chrom时无法启动chromdriver解决方案下载Chromedriver,找到chromedriver.exe文件chromdriver下载链接:https://chromedriver.chromium.org/downloads注意chromdriver的版本需要同Chrom浏览器的版本对原创 2021-06-06 10:53:54 · 749 阅读 · 0 评论 -
【问题记录】Pycharm提示:No data sources are configured to run this SQL and provide advanced code assistance.
问题描述No data sources are configured to run this SQL and provide advanced code assistance.解决方案确认Pycharm侧边栏打开,没有打开的话配置路径为:File>>Settings>>Appearance>>Show tool window bars侧边栏找到Database添加数据库配置示例:配置本地Oracle数据库...原创 2021-06-04 08:28:16 · 1037 阅读 · 0 评论 -
【问题记录】GIT报错:OpenSSL SSL_read: Connection was reset, errno 10054
问题描述从远程仓库拉取项目时报错fatal: unable to access 'https://github.com/Henry-chr/godone.git/': OpenSSL SSL_read: Connection was reset, errno 10054解决方案造成这个错误很有可能是网络不稳定,连接超时导致的,再次尝试后成功同步远程仓库...原创 2021-06-02 05:14:08 · 385 阅读 · 0 评论 -
【问题记录】Jupyter Lab安装插件报错-Please install Node.js and npm before continuing installation.
问题描述Extension Installation ErrorAn error occurred installing @jupyterlab/github.Error message:Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the原创 2021-05-25 12:13:26 · 10424 阅读 · 0 评论