Mac system M1 chip installation graphviz & Error: No such file or directory @ rb_sysopen problem solving

Mac system M1 chip installation graphviz & Error: No such file or directory @ rb_sysopen problem solving

1. Mac system M1 chip installation graphviz

  • In the case of homebrew, just enter the following command directly:

    brew install graphviz
    
  • If homebrew is not installed, you can refer to the homebrew installation tutorial here to install it

2. Problems encountered during installation

graphviz.backend.ExecutableNotFound: failed to execute ['dot', '-Tpng', '-O', 'test.gv'],make sure the Graphviz 
executables are on your systems' PATH
Error: No such file or directory @ rb_sysopen - /Users/xx/Library/Caches/Homebrew/downloads/7a3b4024ffd6b23b7ecf29821cc54d8493966fd87cd633780bf4bcc66b579571--harfbuzz-5.3.0.big_sur.bottle.tar.gz
  • The above problem is caused by the fact that the harbuzz library is not installed, you can use the following command to reinstall it;

    brew install harfbuzz
    

    insert image description here

  • Finally, the installation is successful, and the drawn tree is as follows:
    insert image description here

Guess you like

Origin blog.csdn.net/crist_meng/article/details/127537525