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

错误提醒

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

出错原因

版本较低,需要更新

解决方法

pip install --upgrade XlsxWriter
在这里插入图片描述

发现又遇到已安装问题

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

在这里插入图片描述

你可能感兴趣的:(大数据,Python学习,1024程序员节)