pythonElement
InterfaceToL
the rigour of mathematics and the safety of projects
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用pandas的read_excel()报错:
解决方案:pyhon为3.10.5,pycharm中安装openpyxl3.1.2。问题原因:缺失openpyxl包。原创 2025-02-01 15:54:30 · 429 阅读 · 0 评论 -
使用pandas的read_excel()报错:
解决方案:重新安装与pyhong3.10一致的numpy为1.22.4。问题原因:numpy版本与python版本不一致。原创 2025-02-01 15:40:24 · 764 阅读 · 0 评论 -
dos窗口中用命令pip install requests安装成功后,pycharm中import requests报错No module named ‘requests‘
解决方案:改为在pycharm中Settings-Python Interpreter中下载安装。原创 2025-01-28 23:59:26 · 328 阅读 · 0 评论 -
pycharm安装scikit-learn1.5.1报错“UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0x9c in position 2:
解决方案:在报错位置return self._path.joinpath(filename).read_text(encoding='utf-8')添加参数errors='ignore'为return self._path.joinpath(filename).read_text(encoding='utf-8',errors='ignore')问题原因:未明,这个错误通常是由于文件编码不兼容或文件格式不正确导致的。原创 2024-08-20 13:15:33 · 283 阅读 · 1 评论 -
pycharm运行报错“AttributeError: module ‘matplotlib.tri‘ has no attribute ‘tricontour‘”
问题原因:或为pycharm的bug。原创 2024-08-10 10:29:54 · 447 阅读 · 0 评论 -
pycharm安装pandas2.1.0报错“note: This is an issue with the package mentioned above, not pip.”
问题原因:是包pandas2.1.0的问题,可能是和pycharm2022.3.3或python3.12不兼容,或pandas2.1.0过时或错误。解决方案:下载pycharm默认选择的最新pandas2.2.2。原创 2024-08-08 01:49:19 · 357 阅读 · 0 评论
分享