Python int too large to convert to C long

报错

在用python 的matplotlib库绘制折线图时我报了这个错误
Python int too large to convert to C long

解决方法

win+R然后输入cmd,再输入

pip install --upgrade matplotlib

然后问题就解决了

你可能感兴趣的:(笔记,python,开发语言,c语言)