
Python
Python报错集锦
Matrix 工作室
为天地立心,为生民立命,为往圣继绝学,为万世开太平。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pip报错:Script file ‘D:\anaconda3\Scripts\pip-script.py‘ is not present.
【代码】pip报错:Script file 'D:\anaconda3\Scripts\pip-script.py' is not present.原创 2022-09-24 14:43:32 · 1987 阅读 · 0 评论 -
RuntimeError: Bool type is not supported by dlpack
问题背景:图学习/节点预测,使用dgl加载Reddit数据集,遇到报错RuntimeError: Bool type is not supported by dlpack分析报错的内容说是dlpack不支持Bool类型,类型不支持,可能是版本问题,但是我用的是Colab,环境不是自己搭建的,不好追溯。检索GitHub项目Issue相同问题:https://github.com/dmlc/dgl/issues/3591解决方案:测试环境发生错误,具体错误未提及。Stack Overf.原创 2022-02-05 18:32:38 · 3189 阅读 · 1 评论 -
This version of ChromeDriver only supports Chrome version 93 Current browser version is 95.0.4638.54
还是那个超星每日健康自动报备,今天又报错了,撅了。Error Messageselenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 93Current browser version is 95.0.4638.54 with binary path C:\Program Fi原创 2021-10-20 09:58:26 · 2689 阅读 · 6 评论 -
Selenium Xpath元素无法定位 NoSuchElementException: Message: no such element: Unable to locate element
用的佳哥的python基于selenium的学习通健康自动填报但是今天突然报错了。Error MessageMessage: no such element: Unable to locate elementSolve之前我一直觉得代码里的sleep(5)有点久,就给改成了sleep(3),前几天都没问题,但是今天网络状况不太好,网速比较慢。所以,报错的不是 xpath 的问题,而是因为脚本执行到这一行代码时,对应页面上的元素还没加载完成,导致定位不到,需要增加等待时间。So,我就又改回了s原创 2021-10-10 09:01:38 · 1182 阅读 · 3 评论