


pydot is the old version corresponding to python2, and python-ng is the new version compatible with python2 and python3. : What needs to be noted is the difference between pydot and pydot-ng.
#Install pydot ng install#
Install pydot-ng: directly enter pip install pydot-ng in the command line to install. If the relevant version information of graphviz is displayed, the installation and configuration are successful. Verify that graphviz is installed successfully: Enter the windows command line interface, enter dot -version, and then press Enter. The download address of the official website is: download link。Īfter installation, you need to configure environment variables: add the bin file path folder in the graphviz installation directory to the Path environment variable.
#Install pydot ng manual#
Install graphviz: You can install graphviz directly in the Linux system, and you need to download the binary installation package for manual installation under the Windows system. If an error occurs during operation, you need to install these two packages: Problem solving The plot_model function relies on pydot-ng and graphviz.

The plot_model function relies on pydot-ng and graphviz.
