builtree / handwrite

Handwrite generates a custom font based on your handwriting sample.
https://pypi.org/project/handwrite/
MIT License
366 stars 46 forks source link

FileNotFoundError: [WinError 2] The system cannot find the file specified #82

Open xlastfire opened 1 year ago

xlastfire commented 1 year ago

PS C:\Users\Gayashan\Desktop\hand> handwrite .\sample.jpg .\asd.ttf Traceback (most recent call last): File "C:\Users\Gayashan\miniconda3\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Gayashan\miniconda3\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\Gayashan\miniconda3\Scripts\handwrite.exe\__main__.py", line 7, in <module> File "C:\Users\Gayashan\miniconda3\lib\site-packages\handwrite\cli.py", line 56, in main converters( File "C:\Users\Gayashan\miniconda3\lib\site-packages\handwrite\cli.py", line 34, in converters run(sheet, output_directory, directory, config, metadata) File "C:\Users\Gayashan\miniconda3\lib\site-packages\handwrite\cli.py", line 14, in run SVGtoTTF().convert(characters_dir, output_directory, config, metadata) File "C:\Users\Gayashan\miniconda3\lib\site-packages\handwrite\svgtottf.py", line 28, in convert subprocess.run( File "C:\Users\Gayashan\miniconda3\lib\subprocess.py", line 505, in run with Popen(*popenargs, **kwargs) as process: File "C:\Users\Gayashan\miniconda3\lib\subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\Gayashan\miniconda3\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified