欢迎使用CSDN-markdown编辑器
来源:互联网 发布:如何用淘宝联盟买东西 编辑:程序博客网 时间:2024/06/06 06:39
Keras结构图画法报错问题
Anaconda
安装pydon_ng后
出现找不到路径问题
找到init 然后 可以修改如下
Method 3 (Windows only) # Method 3 (Windows only) # if os.sys.platform == 'win32': # Try and work out the equivalent of "C:\Program Files" on this # machine (might be on drive D:, or in a different language) # if False: # os.environ.has_key('PROGRAMFILES'): # Note, we could also use the win32api to get this # information, but win32api may not be installed. path = os.path.join(os.environ['PROGRAMFILES'], 'ATT', 'GraphViz', 'bin') else: # Just in case, try the default... path = r"C:\Program Files (x86)\GraphViz\bin" progs = __find_executables(path) if progs is not None: # print "Used default install location" return progs for path in ( '/usr/bin', '/usr/local/bin', '/opt/bin', '/sw/bin', '/usr/share', '/Applications/Graphviz.app/Contents/MacOS/'): progs = __find_executables(path) if progs is not None: # print "Used path" return progs # Failed to find GraphViz # return None # Failed to find GraphViz
阅读全文
0 0
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 欢迎使用CSDN-markdown编辑器
- 原生JS实现angular的双向数据绑定
- Android xml中控件共同样式的抽取
- 普林斯顿算法课 评估指南 Assessment Guide
- 文件学习3-目录
- base on fix GMI and CFH clearing gateway
- 欢迎使用CSDN-markdown编辑器
- 使用IntelliJ IDEA 15和Maven创建Java Web项目
- NLTK自然语言处理
- Win10下python3和python2同时安装并解决pip共存问题
- 清华集训2017补题
- Algorithm之路五:Longest Palindromic Substring
- JAVA-FileInputStream之read方法
- javascript08--获取元素内容
- Linux 开发工具