Milomilo0320 / A-Semi-automatic-Annotation-Software-for-Scene-Graph

26 stars 2 forks source link

TypeError: argument of type 'WindowsPath' is not iterable #4

Open zxc1212sc1000 opened 3 years ago

zxc1212sc1000 commented 3 years ago

Traceback (most recent call last): File "main.py", line 2022, in scene_graph.render("anewsg.gv", view=False) File "D:\Softwares\python 3.6.7\lib\site-packages\graphviz\rendering.py", line 83, in render rendered = self._render(args, kwargs) File "D:\Softwares\python 3.6.7\lib\site-packages\graphviz\backend\rendering.py", line 62, in render execute.run_check(cmd, capture_output=True, cwd=cwd, quiet=quiet) File "D:\Softwares\python 3.6.7\lib\site-packages\graphviz\backend\execute.py", line 88, in run_check proc = subprocess.run(cmd, kwargs) File "D:\Softwares\python 3.6.7\lib\subprocess.py", line 403, in run with Popen(popenargs, **kwargs) as process: File "D:\Softwares\python 3.6.7\lib\subprocess.py", line 709, in init restore_signals, start_new_session) File "D:\Softwares\python 3.6.7\lib\subprocess.py", line 971, in _execute_child args = list2cmdline(args) File "D:\Softwares\python 3.6.7\lib\subprocess.py", line 461, in list2cmdline needquote = (" " in arg) or ("\t" in arg) or not arg TypeError: argument of type 'WindowsPath' is not iterable

zxc1212sc1000 commented 3 years ago

It's need python>=3.8