根本原因 由于numpy版本与pandas、matplotlib不兼容,导致报错 解决方法 降低pandas、matplotlib版本 numpy == 1.16.0 pandas == 1.4.1 matplotlib == 3.0.3 (或卸载matplotlib)