草庐IT

python环境问题—No Python at ‘C:\Program Files\Python310\python.exe‘

1.检查环境变量    cmd(命令提示符)-> 输入wherepython 复制第一条路径(与编译器兼容的python版本)。打开系统环境变量点击path检查path中是否有刚才的路径,如果没有就添加上。  2.打开编译器PyCharm。点击setting    选择与编译器兼容的python版本。

[Android Studio报错]Can‘t determine type for tag ‘<macro name=“m3_comp_bottom_app_bar_container_color“

使用最新版本的SDK33新建项目时,直接编译会有如下报错Can'tdeterminetypefortag'?attr/colorSurface'经过排查,是app目录下的build.gradle文件配置有问题,须将dependencies配置项的implementation'androidx.appcompat:appcompat:1.5.1'implementation'com.google.android.material:material:1.7.0'修改为:implementation'androidx.appcompat:appcompat:1.4.1'implementation'

亲测有效!python:Failed to execute script ‘pyi_rth_win32comgenpy‘ due to unhandled exception!

问题使用pyinstaller打包exe程序后,出现如下错误:Failedtoexecutescript‘pyi_rth_win32comgenpy’duetounhandledexception!Traceback(mostrecentcalllast):File"Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_win32comgenpy.py",line40,inmodule>File"PyInstaller\loader\pyimod02_importers.py",line499,inexec_moduleFile"win32co

TypeError: __init__() got multiple values for argument ‘schema‘

TypeError:init()gotmultiplevaluesforargument‘schema’导读今天在使用jupyterlab连上MySQL报的错,检索了大量网站才得以解决报错原因:SQLAlchemy的version2.0.0(2023年1月26日发布)与早期版本的pandas不兼容方法一:可以将Pandas版本升级到最新版本pipinstall--upgradepandas方法二:将SQLAlchemy的版本往下降,这边我采取的方法就是这个pipinstallsqlalchemy==1.4.46这边下载完,若是jupyter,重启下kernel或者切换一次方法三:安装sqlal

Python产生关键词云报错:AttributeError: ‘ImageDraw‘ object has no attribute ‘textbbox‘

利用jiebasnownlp分别分词,产生关键词云。代码报错,检查了以下代码没错。最后在csdn找到了解决方法。这原来是pillow的版本过低的原因。办法如下:打开Anacondaprompt查看下载列表:pip list 删除现有的pillow: pipuninstallpillow 下载新版本的pillow:pipinstallpillow推荐用下面的这个带镜像的。pipinstall-ihttps://pypi.tuna.tsinghua.edu.cn/simplepillow现在的版本是pillow-9.5.0再运行代码就可以了,运行前记得重启一下。 

javax.net.ssl.SSLException: closing inbound before receiving peer‘s close_notify

问题描述用generator逆向生成的时候遇到一个报错jdbc.connectionURL=jdbc:mysql://localhost:3306/ssmnew?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT原因分析:这错误出现原因是要求开启了mysql的ssl验证(MySQL5.7+默认是开启SSL连接),需要我们主动配置ssl证书信息或者明确指出不适用ssl解决方案:1、明确不使用ssl严重加参数 useSSL=false在获取url最后加上&useSSL=false即可

Git报错解决:fatal: unable to access ‘https://github.com/.......‘: OpenSSL SSL_read: Connection was reset

之前gitclone项目的时候报错fatal:unabletoaccess'https://github.com/.......':OpenSSLSSL_read:Connectionwasreset,errno10054产生原因:一般是因为服务器的SSL证书没有经过第三方机构的签署,所以会报错首先需要解除ssl验证后,再次git即可解除ssl验证:gitconfig--globalhttps:www.baidu.com"false"再次gitclone"https:www.baidu.com"即可

解决报错:WebSocket connection to ‘ws://192.168.0.108:8080/ws‘ failed: Error in connection establishment:

  当我把手机连在电脑上的热点关闭,换其他wifi后,报错就消失了。大概是手机防火墙限制访问

warning: could not find UI helper ‘git-credential-manager-ui‘

可以先试试别人的教程 (58条消息)关于git凭证存储credentialhelper配置,解决(gitpull,push,fetch)remotenotfound的问题_DavidFFFFFF的博客-CSDN博客我是因为换了电脑,然后重新装的git环境,然后拉取的时候就一直提示我标题这个提示。然后我试了下这个文章中说,添加了凭证,但是还是不会弹出一样的提示。然后在输入 git-credential-manager--help的时候发现下面有提示命令参数,先是试了下git-credential-managerconfigure然后再用git-credential-managerget,这个时候

当vue3 报错 Cannot read properties of null (reading ‘style‘)

当你在编写代码时发现页面不及时刷新了浏览器控制台报下面的错误时刚看到的时候会一很懵那么原因是什么呢Cannotreadpropertiesofnull(reading'style')atpatchStyle(runtime-dom.esm-bundler.js:104:22)原因是:尽管Vue3允许一个组件模板中存在多个元素,但是如果你这样写,有时会出现上述错误。解决方法:在模板内你写的多个标签外面包裹一层元素,或者给某个标签添加v-bind=“$attrs”。请注意:如果你的模板中存在ifelse语句,虽然你认为它应该是一个元素,但在运行时仍会报上述错误。