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

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

Open
ionwebs opened this issue Jun 26, 2023 · 1 comment

Comments

@ionwebs
Copy link

ionwebs commented Jun 26, 2023

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
Copy link
Owner

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.

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

No branches or pull requests

2 participants