본문 바로가기
꿀팁

graphviz 에러 해결, 설치방법

by 앵유짱 2025. 4. 3.
  • ExecutableNotFound: failed to execute WindowsPath('dot'), make sure the Graphviz executables are on your systems' PATH Output is truncated.
  • ModuleNotFoundError: No module named ‘graphviz’

아나콘다 가상환경에서 위와 같은 에러가 뜨면 홈페이지에서 다운했던 파일, 환경 변수 세팅했던거 다 원래대로 해놓고 아래 명령어 두 줄을 실행하면 됨

conda install -c anaconda python-graphviz

conda install -c anaconda pydot

 

아래 출처에 들어가면 Mac 버전도 있음

 

출처 :

https://pyihub.org/no-module-named-graphviz/

 

ModuleNotFoundError: No module named 'graphviz' - PyiHub

ModuleNotFoundError: No module named 'graphviz' can be solved by either updating the graphviz module or installing it on our system.

pyihub.org