如何在anaconda中安装pydotplus
来源:互联网 发布:java异常处理 编辑:程序博客网 时间:2024/05/22 16:41
在用Python学习构建决策树是,需要可视化已构建好的决策树,需要用到pydotplus包,那面如何在anaconda中安装呢?
使用如下代码:
conda install -c conda-forge pydotplus
http://stackoverflow.com/questions/36979421/how-can-i-use-conda-to-install-pydotplus/40719179
此时,如果未安装graphviz,程序还是会报错的
graphviz下载地址:
http://www.graphviz.org/Download_windows.php
处理过程:
The problem is that the path to GraphViz was not found by the pydot module as shown in the traceback:
'GraphViz\'s executables not found'
I solved this problem on my windows 7 machine by adding the GraphViz bin directory to my computer's PATH. Then restarting my python IDE to use the updated path.
- Install GraphViz if you haven't already (I used the MSI download)
- Get the path for gvedit.exe (for me it was "C:\Program Files (x86)\Graphviz2.34\bin\")
- Add this path to the computer's PATH
- One way to get to environment settings to set your path is to click on each of these button/menu options: start->computer->system properties->advanced settings->environment variables
- Click Edit User path
- Add this string to the end of your Variable value list (including semicolon): ;C:\Program Files (x86)\Graphviz2.34\bin
- Click OK
- Restart your Python IDE
0 0
- 如何在anaconda中安装pydotplus
- 在Anaconda中安装tensorflow
- 在Anaconda中安装opencv
- 如何在anaconda上安装pygame
- Pycharm和Anaconda中如何安装package
- Pycharm和Anaconda中如何安装package
- 在Anaconda中安装python包seaborn
- 在Win10 Anaconda中安装Tensorflow
- 在 anaconda 中离线安装 cv2 模块
- 在Win10 Anaconda中安装Tensorflow
- 在Win10 Anaconda中安装Tensorflow
- win10在anaconda中安装tensorflow
- 在Win10 Anaconda中安装Tensorflow
- 如何在Linux环境下安装Anaconda软件
- 如何在win10 python3.6 Anaconda安装 Tensorflow
- Anaconda中安装MinGW
- pycharm中安装Anaconda
- 如何在Anaconda中实现多版本python Spyder共存
- 20170505chrome插件控制页面跳转
- C++第4次实验(基础班)—循环结构程序设计(参考答案)-项目5:贪财的富翁
- 随笔 tic
- Android开发之软件评价
- 在32位UBUNTU操作系统上编译安装新版本QT
- 如何在anaconda中安装pydotplus
- 动态规划练习总结
- spring 注解实现AOP
- 磁盘清理-读取大文件夹
- Gym
- 解决svnserve: Can't bind server socket: Address already in use
- 《算法导论》第6章 堆排序 个人笔记
- Laravel 5使用faker Model Factory生成网站模拟演示数据
- spring声明式事务不能回滚