更新时间:2022-05-16 01:44:10
matplotlib 现在已经发布了 python 3.9 的***,所以 pip install --upgrade matplotlib
应该可以工作.
edit: matplotlib has now released wheels for python 3.9 so pip install --upgrade matplotlib
should work.
原始答案
matplotlib 尚未为 3.9 版制作***,因此您的 Python 尝试从源代码构建它.您应该降级到 python 3.8,然后一切正常
matplotlib hasn't made a wheel yet for version 3.9 so your python attempted to build it from source. You should downgrade to python 3.8 and then everything should work