Closed vhphan closed 5 years ago
@vhphan
Thanks for your interest in PyAF. Seems some dependency of dependency is missing (pydot depends on dot/graphviz).
Can you please check the fix described on this page :
https://stackoverflow.com/questions/26349314/how-can-i-use-conda-to-install-pydot
Your feedback is welcome.
Closing issue after no response for 30 days. Not blocking.
Please repoen if needed.
1) I am getting the following error, "FileNotFoundError: [WinError 2] "dot" not found in path.", when running PyAF_Hierarchical_FrenchWineExportation.ipynb The cell:
create a model to plot the hierarchy.
import pyaf.HierarchicalForecastEngine as hautof lEngine = hautof.cHierarchicalForecastEngine() lSignalHierarchy = lEngine.plot_Hierarchy(French_Wine_Export_in_Euros_DF , "Month", "Signal", 1, lHierarchy, None);
The output: INFO:pyaf.std:START_HIERARCHICAL_PLOTTING
FileNotFoundError Traceback (most recent call last) C:\ProgramData\Anaconda3\envs\ds2_clone\lib\site-packages\pydot.py in create(self, prog, format, encoding) 1914 arguments=arguments, -> 1915 working_dir=tmp_dir, 1916 )
C:\ProgramData\Anaconda3\envs\ds2_clone\lib\site-packages\pydot.py in call_graphviz(program, arguments, working_dir, kwargs) 135 stdout=subprocess.PIPE, --> 136 kwargs 137 )
C:\ProgramData\Anaconda3\envs\ds2_clone\lib\subprocess.py in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors) 708 errread, errwrite, --> 709 restore_signals, start_new_session) 710 except:
C:\ProgramData\Anaconda3\envs\ds2_clone\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session) 996 os.fspath(cwd) if cwd is not None else None, --> 997 startupinfo) 998 finally:
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)