작성자 없음
작성자 정보가 삭제된 글입니다.
작성
·
3.7K
0
Traceback (most recent call last):
File "C:\ProgramData\Miniconda3\envs\my_project\lib\site-packages\matplotlib\font_manager.py", line 1353, in <module>
fontManager = json_load(_fmcache)
File "C:\ProgramData\Miniconda3\envs\my_project\lib\site-packages\matplotlib\font_manager.py", line 888, in json_load
with open(filename, 'r') as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Zoon\\.matplotlib\\fontlist-v300.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "chapter12.py", line 1, in <module>
import matplotlib.pyplot as plt
File "C:\ProgramData\Miniconda3\envs\my_project\lib\site-packages\matplotlib\pyplot.py", line 32, in <module>
import matplotlib.colorbar
File "C:\ProgramData\Miniconda3\envs\my_project\lib\site-packages\matplotlib\colorbar.py", line 32, in <module>
import matplotlib.contour as contour
File "C:\ProgramData\Miniconda3\envs\my_project\lib\site-packages\matplotlib\contour.py", line 18, in <module>
import matplotlib.font_manager as font_manager
File "C:\ProgramData\Miniconda3\envs\my_project\lib\site-packages\matplotlib\font_manager.py", line 1363, in <module>
_rebuild()
File "C:\ProgramData\Miniconda3\envs\my_project\lib\site-packages\matplotlib\font_manager.py", line 1344, in _rebuild
fontManager = FontManager()
File "C:\ProgramData\Miniconda3\envs\my_project\lib\site-packages\matplotlib\font_manager.py", line 978, in __init__
ttffiles = findSystemFonts(paths) + findSystemFonts()
File "C:\ProgramData\Miniconda3\envs\my_project\lib\site-packages\matplotlib\font_manager.py", line 264, in findSystemFonts
fontfiles.update(win32InstalledFonts(fontext=fontext))
TypeError: 'NoneType' object is not iterable
이렇게 길가 나오는데요... 중간중간 font 뭐라뭐라하는거같은데.. 제 PC가 문제일까요?ㅠㅠ
답변 1
0
https://github.com/matplotlib/matplotlib/issues/12439/
작년 부터 계속 발생하는 에러 같습니다.
conda 나 pip로 설치시 matplotlib를 업데이트 해서 설치하면 될 거 같습니다