데이터 분석과 시각화Seaborn 시각화카테고리별 시각화

Q

implot() 함수와 catplot() 함수 호출시 AttributeError: module 'numpy' has no attribute 'bool' 에러가 발생합니다.

조회 8884

좋아요 0

2023년 1월 4일()




A
2개의 답변이 있어요
커뮤니티 파트너 채택



2023년 1월 5일

댓글 2

2023년 1월 5일
해보시고 안되면 다시 말씀 부탁드립니당
2023년 1월 5일
감사합니다. 삭제와 재 설치를 하는 과정에서 그래프가 잘 나오고 있습니다. 깔끔하지는 않았지만, 지금은 작동을 하고 있고, version 문제가 맞는 것 같습니다.



2023년 1월 4일 ()

댓글 1

2023년 1월 4일
contourpy 버전 확인이 필요합니다. 그리고 matplotlib==2.2.3 설치중 오류가 발생합니다. Collecting matplotlib==2.2.3 Using cached matplotlib-2.2.3.tar.gz (36.8 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [61 lines of output] ============================================================================ Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [2.2.3] python: yes [3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)]] platform: yes [win32] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [not found. pip may install it below.] install_requires: yes [handled by setuptools] libagg: yes [pkg-config information for 'libagg' could not be found. Using local copy.] freetype: no [The C/C++ header for freetype (freetype2\ft2build.h) could not be found. You may need to install the development package.] png: no [The C/C++ header for png (png.h) could not be found. You may need to install the development package.] qhull: yes [pkg-config information for 'libqhull' could not be found. Using local copy.] OPTIONAL SUBPACKAGES sample_data: yes [installing] toolkits: yes [installing] tests: no [skipping due to configuration] toolkits_tests: no [skipping due to configuration] OPTIONAL BACKEND EXTENSIONS macosx: no [Mac OS-X only] qt5agg: no [PySide2 not found; PyQt5 not found] qt4agg: no [PySide not found; PyQt4 not found] gtk3agg: no [Requires pygobject to be installed.] gtk3cairo: no [Requires cairocffi or pycairo to be installed.] gtkagg: no [Requires pygtk] tkagg: yes [installing; run-time loading from Python Tcl / Tk] wxagg: no [requires wxPython] gtk: no [Requires pygtk] agg: yes [installing] cairo: no [cairocffi or pycairo not found] windowing: yes [installing] OPTIONAL LATEX DEPENDENCIES dvipng: no ghostscript: no latex: no pdftops: no OPTIONAL PACKAGE DATA dlls: no [skipping due to configuration] ============================================================================ * The following required packages can not be built: * freetype, png * Please check http://gnuwin32.sourceforge.net/packa * ges/freetype.htm for instructions to install * freetype * Please check http://gnuwin32.sourceforge.net/packa * ges/libpng.htm for instructions to install png [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.

(주) 코드잇

대표강영훈

개인정보보호책임자강영훈

이메일support@codeit.kr

사업자 번호313-86-00797

통신판매업제 2019-서울중구-1034 호

주소서울특별시 중구 청계천로 100 시그니쳐타워 동관 10층 코드잇