새소식

Framework/🤖 Airflow

[Solved] Could not import pandas. Holidays will not be considered

728x90

🔥 Problem

👉 Could not import pandas. Holidays will not be considered.

  File "C:\Python\Python37\lib\site-packages\pandas\core\api.py", line 29, in <module>
    from pandas.core.groupby import Grouper, NamedAgg
  File "C:\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:\Python\Python37\lib\site-packages\pandas\core\groupby\generic.py", line 60, in <module>
    from pandas.core.frame import DataFrame
  File "C:\Python\Python37\lib\site-packages\pandas\core\frame.py", line 124, in <module>
    from pandas.core.series import Series
  File "C:\Python\Python37\lib\site-packages\pandas\core\series.py", line 122, in <module>
    class Series(base.IndexOpsMixin, generic.NDFrame):
  File "C:\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'

Have you ever installed a different version of Python on your equipment?

🧙 Solution

👉 Please run the following commands on Linux Terminal

pip3 install pandas

If I was of any help to you, please buy me coffee 😿😢😥

If you have any questions, please leave them in the comments

🧭 References

[1] reference : https://doctorson0309.tistory.com/

[2] Ads : https://play.google.com/store/apps/details?id=io.cordova.seoulfilter

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.