当前位置:网站首页>plot_ Model error: pydot and graphviz are not installed
plot_ Model error: pydot and graphviz are not installed
2022-06-28 00:36:00 【Sarah ฅ ʕ•̫͡•ʔ ฅ】
1, install pydot, graphviz Methods can be Reference resources The following blog post :
https://blog.csdn.net/shangxiaqiusuo1/article/details/85283432
2, After installed , modify pydot A statement in :
https://blog.csdn.net/HJXINKKL/article/details/89483033
2, Once installed , Check graphviz Is it installed well :
https://blog.csdn.net/u014749291/article/details/54891087
import pydot
print(pydot.find_graphviz()) # Report errors :pydot No, find_graphviz(), Look at the pydot.py, Not really.
# after , stay pydot_ng Find
import pydot_ng
print(pydot_ng.find_graphviz())
# return : None
# after , see System variables path route :C:\Program Files (x86)\Graphviz2.38\bin
# It is amended as follows :C:\Program Files (x86)\Graphviz2.38\bin\
print(pydot_ng.find_graphviz())
# Return a dictionary {...}
# It's running tensorflow Official website code :https://www.tensorflow.org/api_docs/python/tf/keras/utils/plot_model
# In the second use plot_model, No error reported
边栏推荐
- 内网IP和公网IP的区别及作用
- MySQL enterprise parameter tuning practice sharing
- 自定义MySQL连接池
- 線程池實現:信號量也可以理解成小等待隊列
- #795 Div.2 D. Max GEQ Sum 单调栈
- TIME_WAIT过多的解决办法
- Smart wind power | Tupu software digital twin wind turbine equipment, 3D visual intelligent operation and maintenance
- The development of the Internet provides new solutions for industrial transformation
- Deployment and test of crtmp live video server
- Introduction to data warehouse
猜你喜欢
随机推荐
SCU|通过深度强化学习进行微型游泳机器人的步态切换和目标导航
The development of the Internet provides new solutions for industrial transformation
mysql数据库旅游管理系统_JSP+MySQL基于ssm的旅游管理系统[通俗易懂]
现代编程语言:zig
Arduino uno realizes simple touch switch through direct detection of capacitance
Installation and use of Zotero document management tool
LabVIEW连续采样与有限采样模式
Internship: business process introduction
LabVIEW continuous sampling and limited sampling mode
MATLAB basic function length function
How many securities companies can a person open an account? Is it safe to open an account
NoSQL之Redis配置与优化
炼金术(9): 简约而不简单,永不停歇的测试 -- always_run
MySQL enterprise parameter tuning practice sharing
内网IP和公网IP的区别及作用
股市小白在网上股票开户安全吗?
Alchemy (9): simple but not simple, never-ending test -- always_ run
Leetcode 720. The longest word in the dictionary
Matlab基本函数 length函数
[Reading Abstract] what is wrong with English Reading Teaching in schools-- Empiricism and the PK of cognitive science









