When using lightgbm for visualization, the graphviz package is used. The following problems are encountered when installing the graphviz package.
ExecutableNotFound: failed to execute PosixPath('dot'), make sure the Graphviz executables are on your systems' PATH
Error cause analysis:
At first, it was thought that the reason was that the graphviz module was not installed, so PIP install graphviz was used Later, it was found that it still couldn’t be reinstalled after uninstalling with PIP uninstall graphviz
finally, it was found that the graphviz program needs to be installed first
to explain, after installing graphviz with PIP install graphviz, only the python calling interface of graphviz is installed. If you use graphviz, you also need to download the installation file of graphviz.
You can install the graphviz package on the MAC using the following command
sudo port install graphviz
- Error interpreter field is empty when installing pychar to create a new project. Run the python program
- bash :startx command not found
- How to Solve graphviz run Error in Pychart
- MySQL_python‑1.2.5‑cp27‑none‑win_amd64.whl is not a valid wheel filename.
- Module not found error: wrong solution of no module named ‘windows’ and no module named’ win32API ‘
- Python PIP installs scrapy with an error of twisted
- No compatible servers were found when installing MySQL
- [Solved] Centos6: Python 2.6 upgrade to 3.7, error handling [no module named ‘_ctypes’]
- Python decision tree visualization: a solution to graphviz’s executables not found
- basic_consume() got multiple values for keyword argument ‘queue’