欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

2020-10-24 pandas导入出现错误或者警告解决方案

程序员文章站 2022-05-28 12:20:10
...

错误提醒

ImportError: Pandas requires version '1.3.7' or newer of 'XlsxWriter' (version '0.9.6' currently installed).

出错原因

版本较低,需要更新

解决方法

pip install --upgrade XlsxWriter
2020-10-24 pandas导入出现错误或者警告解决方案

发现又遇到已安装问题

ERROR: Cannot uninstall 'XlsxWriter'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

解决方案——忽略已安装包

pip install XlsxWriter --upgrade --ignore-installed XlsxWriter

2020-10-24 pandas导入出现错误或者警告解决方案