Closed alexlionzhukov closed 2 years ago
FileNotFoundError Traceback (most recent call last) C:\ProgramData\Anaconda3\envs\Python38\lib\site-packages\IPython\core\formatters.py in call(self, obj) 343 method = get_real_method(obj, self.print_method) 344 if method is not None: --> 345 return method() 346 return None 347 else:
C:\ProgramData\Anaconda3\envs\Python38\lib\site-packages\yargy\dot.py in _reprsvg(self) 147 148 def _reprsvg(self): --> 149 return dot2svg('\n'.join(self.source)) 150 151 def repr(self):
C:\ProgramData\Anaconda3\envs\Python38\lib\site-packages\yargy\dot.py in dot2svg(source) 17 18 def dot2svg(source): ---> 19 process = Popen( 20 ['dot', '-T', 'svg'], 21 stdin=PIPE, stdout=PIPE, stderr=PIPE
C:\ProgramData\Anaconda3\envs\Python38\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, text) 856 encoding=encoding, errors=errors) 857 --> 858 self._execute_child(args, executable, preexec_fn, close_fds, 859 pass_fds, cwd, env, 860 startupinfo, creationflags, shell,
C:\ProgramData\Anaconda3\envs\Python38\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) 1309 # Start the process 1310 try: -> 1311 hp, ht, pid, tid = _winapi.CreateProcess(executable, args, 1312 # no special security 1313 None, None,
FileNotFoundError: [WinError 2] Не удается найти указанный файл
Graph(nodes=[...], edges=[...])
Решено установкой stable_windows_10_cmake_Release_x64_graphviz-install-2.49.3-win64.exe
Не работает .normalized.as_dot:
FileNotFoundError Traceback (most recent call last) C:\ProgramData\Anaconda3\envs\Python38\lib\site-packages\IPython\core\formatters.py in call(self, obj) 343 method = get_real_method(obj, self.print_method) 344 if method is not None: --> 345 return method() 346 return None 347 else:
C:\ProgramData\Anaconda3\envs\Python38\lib\site-packages\yargy\dot.py in _reprsvg(self) 147 148 def _reprsvg(self): --> 149 return dot2svg('\n'.join(self.source)) 150 151 def repr(self):
C:\ProgramData\Anaconda3\envs\Python38\lib\site-packages\yargy\dot.py in dot2svg(source) 17 18 def dot2svg(source): ---> 19 process = Popen( 20 ['dot', '-T', 'svg'], 21 stdin=PIPE, stdout=PIPE, stderr=PIPE
C:\ProgramData\Anaconda3\envs\Python38\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, text) 856 encoding=encoding, errors=errors) 857 --> 858 self._execute_child(args, executable, preexec_fn, close_fds, 859 pass_fds, cwd, env, 860 startupinfo, creationflags, shell,
C:\ProgramData\Anaconda3\envs\Python38\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) 1309 # Start the process 1310 try: -> 1311 hp, ht, pid, tid = _winapi.CreateProcess(executable, args, 1312 # no special security 1313 None, None,
FileNotFoundError: [WinError 2] Не удается найти указанный файл
Graph(nodes=[...], edges=[...])