When installing graphviz with a Cupid notebook, use
pip install graphviz
However, when using, when creating a decision tree classifier, it is found that the image cannot be displayed, and the error is as follows:
Just type it in Cupid’s notebook
!dot -c
Run the code again and the problem will be solved!
Read More:
- [Solved] Decision tree error: Graphviz’s executables not found
- [Solved] pip Install Error: Missing dependencies for SOCKS support
- PIP Install Mysqlclient error C1083: Cannot open include file: ‘mysql.h‘: No such file or directory
- [Solved] Pycharm Use pip to install package error: no such option –build-dir
- [Solved] hydra Install Error: AttributeError: module ‘hydra‘ has no attribute ‘main‘
- Python environment error, bad interpreter: there is no file or directory
- [Solved] ERROR: URL ‘s3://‘ is supported but requires these missing dependencies: [‘s3fs‘]. To install dvc wi
- [Solved] Mac ffmpeg Install Error: filenotfounderror: [errno 2] no such file or directory: ‘ffmpeg’: ‘ffmpeg’
- Apex install error: the environment is not compatible
- [Solved] RuntimeError : PyTorch was compiled without NumPy support
- [Solved] Python AssertionError: MMCV==1.1.0 is used but incompatible. Please install mmcv>=1.0.5, <=1.0.5.
- [Solved] Run sudo python setup.py install Error: error: error in setup.cfg: command ‘build‘ has no such option ‘i18
- [Solved] Python setup.py install Error: error: identifier “AT_CHECK“ is undefined
- [Solved] RuntimeError: ProcessGroupNCCL is only supported with GPUs, no GPUs found
- Brew install XXX and display error: [email protected] [How to Solve]
- [Solved] MindSpore Error: “operation does not support the type kMetaTypeNone“
- [Solved] This error might have occurred since this system does not have Windows Long Path support enabled.
- Opencv-python Install is Stuck Error: running setup.py bdist_wheel for opencv-python
- [Solved] ModuleNotFoundError: No module named ‘xxx’; ‘xxx’ is not a package
- VBoxManage error: VT-x is not available (VERR_VMX_NO_VMX)