728x90 ImportError2 [Jupyter Notebook] ImportError: matplotlib is required for plotting when the default backend "matplotlib" is selected. 오류 원문이다. ImportError: matplotlib is required for plotting when the default backend "matplotlib" is selected. 저 오류는 필요한 패키지를 설치하지 않아 발생하는 오류이다. 따라서 해당 패키지를 설치하면 오류는 사라진다. !pip install matplotlib 입력하여 설치 Python 2022. 11. 26. [Jupyter Notebook] ImportError: cannot import name 'MutableSet' from 'collections' (/usr/lib/python3.10/collections/__init__.py) Open DART API 사용을 하려고 API Key 신청하고 Jupyter Notebook .ipynb 파일에서 !pip install dart-fss 명령으로 관련 패키지를 설치한 후 아래와 같이 코드를 작성하고 실행했더니 바로 오류를 뿜었다. 참고로 설치된 Python 버전은 3.10.6이다. import dart_fss as dart_fss import pandas as pd api_key = '35f464ee744a0ce5247ac14b25f277a8c5fa7d3a' dart_fss.set_api_key(api_key = api_key) corp_list = dart_fss.get_corp_list() corp_list.corps 그리고 오류 내용은 아래와 같다. File ~/.local/lib.. Python 2022. 11. 25. 이전 1 다음 💲 추천 글 반응형 SMALL