遇到报错:File "C:\Python\Python38\lib\site-packages\pandas\core\window\ewm.py", line 5,
in
import pandas._libs.window.aggregations as window_aggregations
ImportError: DLL load failed while importing aggregations: 找不到指定的模块。File "C:\Python\Python38\lib\site-packages\pandas\core\series.py", line 4562,
in Series
plot = CachedAccessor("plot", pandas.plotting.PlotAccessor)
AttributeError: partially initialized module 'pandas' has no attribute 'plotting
' (most likely due to a circular import)
看解决办法,直接跳到最后。
刚接触python,准备装Pandas库,装了一个大中午,不容易。python也是这两天下载的3.8版本。
使用pip命令安装pandaspip3 install pandas
自动安装,就是下载有点慢。装好了(其实没有),如下图。
看到Successfully,我以为装好了,也没在意(wheel是没装,也要pip3 install wheel安装一下)。
然后测试Pandas 是否安装好,在py解释器使用import测试,