Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<class 'FileNotFoundError'> Error. #1

Closed
hiewliwen opened this issue Mar 3, 2020 · 1 comment
Closed

<class 'FileNotFoundError'> Error. #1

hiewliwen opened this issue Mar 3, 2020 · 1 comment

Comments

@hiewliwen
Copy link

hiewliwen commented Mar 3, 2020

  1. New venv, activated and installed requirements.
  2. Ran python main.py in cmd prompt.
  3. Window generated with error. See image here.
  4. Below is the traceback.

What seems to be the problem here?

<class 'FileNotFoundError'>
(2, 'The system cannot find the file specified', None, 2, None)
You can report this using report bug button
File "main.py", line 7, in
NNSandboxApp().run()
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\site-packages\kivy\app.py", line 855, in run
runTouchApp()
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\site-packages\kivy\base.py", line 504, in runTouchApp
EventLoop.window.mainloop()
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\site-packages\kivy\core\window\window_sdl2.py", line 747, in mainloop
self._mainloop()
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\site-packages\kivy\core\window\window_sdl2.py", line 479, in _mainloop
EventLoop.idle()
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\site-packages\kivy\base.py", line 339, in idle
Clock.tick()
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\site-packages\kivy\clock.py", line 591, in tick
self._process_events()
File "kivy_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events
File "kivy_clock.pyx", line 167, in kivy._clock.ClockEvent.tick
File "C:\Users\SLATE17\Downloads\Neural-Network-Sandbox-master\Frontend\MainApp.py", line 51, in default_drawing
self.drawer.draw(layers=[1,1],weighted=False)
File "C:\Users\SLATE17\Downloads\Neural-Network-Sandbox-master\Frontend\Drawing.py", line 61, in draw
check_call(['dot','-Tpng','network_graph.txt','-o','Network_Drawing.png']) #Converts .txt -> .png
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\subprocess.py", line 358, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\subprocess.py", line 339, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\subprocess.py", line 800, in init
restore_signals, start_new_session)
File "C:\Users\SLATE17.conda\envs\tensorflow\lib\subprocess.py", line 1207, in _execute_child
startupinfo)

@imdeep2905
Copy link
Owner

imdeep2905 commented Mar 3, 2020

The issue is with graphviz.
Make Sure you have graphviz installed and set in environment variables.
For Ex:
C:\Program Files (x86)\Graphviz2.38\bin
Get Graphviz For windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants