import matplotlib.pyplot as plt
ImportError: cannot import name 'cbook' from partially initialized module 'matplotlib' (most likely due to a circular import) (c:\Users\user\miniconda3\envs\ds_study\lib\site-packages\matplotlib\__init__.py)"
}
오류 해결 :
pip uninstall matplotlib
기존 matplotlib 폴더 수동 삭제
파일 탐색기를 열고 c:\users\user\miniconda3\envs\ds_study\lib\site-packages\ 경로로 이동
해당 디렉토리 내에서 matplotlib 또는 -atplotlib 관련 폴더를 찾아 삭제
pip cache purge
pip install matplotlib
# 최신 버전의 prophet 사용
pip install setuptools-git
# Successfully installed setuptools-git-1.2
pip uninstall fbprophet
pip install cmdstanpy --upgrade
# Successfully installed cmdstanpy-1.2.3
pip install prophet
# Version: 1.1.5