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] Python Error: TypeError: write() argument must be str, not bytes
- [Solved] python opencv Error: findContours() Can only use the Grayscale
- [Solved] Jupyter Notebook Start Error: Fatal error in launcher: Unable to create process using
- Brew install XXX and display error: [email protected] [How to Solve]
- [Solved] jupyter notebook Error: 500 : Internal Server Error
- [Solved] Sklearn Call Error: DLL load failed while importing _arpack
- RuntimeWarning: overflow encountered in ubyte_Scalars pixel addition and subtraction overflow exception
- Importerror: DLL load failed: unable to find the specified module in Python
- Design python+mysql database with multi-level menu directory
- How to Solve cv2.applyColorMap Error
- How to Fix Errors encountered in executing Python scripts with command line parameters
- RuntimeError: Non RGB images are not supported [How to Fix]
- [Solved] cv2.xfeatures2d.SIFT_create() Error: module ‘cv2.cv2’ has no attribute ‘xfeatures2d’
- [Solved] Jupyter notebook use pyLDAvis Error: modulenotfounderror: no module named ‘pyLDAvis’‘
- Opencv Python realizes the paint filling function in PS, one click filling color and the possible reasons for opencv’s frequent errors
- jupyter notebook Use pyLDAvis Error: AttributeError: module ‘pyLDAvis‘ has no attribute ‘gensim
- Opencv: How to Draw Palette
- [Python] error in installing jupyter: defaulting to user installation because normal Requirement already satisfied
- [Solved] RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dim