jkenlooper / piecemaker

Create jigsaw puzzle pieces
GNU Lesser General Public License v3.0
64 stars 12 forks source link

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

Open ionwebs opened 1 year ago

ionwebs commented 1 year ago

minimum_piece_size 27.29014844804318 max pieces that will fit 3021 pieces requested 100 pieces adjusted 100 pieces actual 100 piece size 150.0 x 150.0 Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Python311\Scripts\piecemaker.exe__main.py", line 7, in File "C:\Python311\Lib\site-packages\piecemaker\script.py", line 191, in piecemaker pieces = Pieces( ^^^^^^^ File "C:\Python311\Lib\site-packages\piecemaker\base.py", line 91, in init scaled_png = rasterize_svgfile(scaled_svg, width, height) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\piecemaker\tools.py", line 44, in rasterize_svgfile subprocess.run( File "C:\Python311\Lib\subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\subprocess.py", line 1024, in init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Python311\Lib\subprocess.py", line 1493, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] The system cannot find the file specified

Can you please suggest issue?, I am new in python.

jkenlooper commented 1 year ago

This project doesn't support directly running on a Windows machine. I suggest following the directions to run it with Docker.

Leaving this issue open for now as the documentation isn't very exact on what platforms it will run on.