|
楼主 |
发表于 2020-3-30 21:40:47
|
显示全部楼层
你说的这个文件夹和文件都是存在的,按你说的方法,我卸载了pandas,重装,再删除这个文件夹,错误变成了下面这个。我看了下另外一台正常运行的电脑,下面也是有windows这个文件夹的
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import pandas
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\__init__.py", line 55, in <module>
from pandas.core.api import (
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\core\api.py", line 29, in <module>
from pandas.core.groupby import Grouper, NamedAgg
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\core\groupby\__init__.py", line 1, in <module>
from pandas.core.groupby.generic import DataFrameGroupBy, NamedAgg, SeriesGroupBy
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\core\groupby\generic.py", line 60, in <module>
from pandas.core.frame import DataFrame
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\core\frame.py", line 124, in <module>
from pandas.core.series import Series
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\core\series.py", line 122, in <module>
class Series(base.IndexOpsMixin, generic.NDFrame):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\core\series.py", line 4562, in Series
plot = CachedAccessor("plot", pandas.plotting.PlotAccessor)
AttributeError: module 'pandas' has no attribute 'plotting' |
|