Subrata019 / Analysis-of-NSL-KDD-dataset-using-NaiveBayes-DecisionTree-RandomForest

Analysis-of-NSL-KDD-dataset-using-NaiveBayes--DecisionTree--RandomForest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hello

gmgm123 opened this issue · comments

Hello, excuse me. Why does the following prompt appear when running the program.

C:\Python36\lib\site-packages\sklearn\externals\six.py:31: FutureWarning: The module is deprecated in version 0.21 and will be removed in version 0.23 since we've dropped support for Python 2.7. Please rely on the official version of six (https://pypi.org/project/six/).
"(https://pypi.org/project/six/).", FutureWarning)
Traceback (most recent call last):
File "C:\Python36\lib\site-packages\pydot.py", line 1915, in create
working_dir=tmp_dir,
File "C:\Python36\lib\site-packages\pydot.py", line 136, in call_graphviz
**kwargs
File "C:\Python36\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "C:\Python36\lib\subprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:/桌面/github/Analysis-of-NSL-KDD-dataset-using-NaiveBayes-DecisionTree-RandomForest-master/dm_j_component.py", line 122, in
Image(graph.create_png())
File "C:\Python36\lib\site-packages\pydot.py", line 1723, in new_method
format=f, prog=prog, encoding=encoding)
File "C:\Python36\lib\site-packages\pydot.py", line 1922, in create
raise OSError(*args)
FileNotFoundError: [WinError 2] "dot" not found in path.