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: [Errno 2] No such file or directory: 'gifsicle' #12

Open
F36 opened this issue Sep 23, 2020 · 7 comments
Open

FileNotFoundError: [Errno 2] No such file or directory: 'gifsicle' #12

F36 opened this issue Sep 23, 2020 · 7 comments

Comments

@F36
Copy link

F36 commented Sep 23, 2020

Getting this error

python3 read.py input.gif output.tgs
Traceback (most recent call last):
File "read.py", line 19, in
run(["gifsicle", "-U", sys.argv[1]], stdout=tmpfile)
File "/data/data/com.termux/files/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/data/data/com.termux/files/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/data/data/com.termux/files/usr/lib/python3.8/subprocess.py", line 1700, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gifsicle'

@F36 F36 changed the title python3 read.py input.gif output.tgs Traceback (most recent call last): File "read.py", line 19, in <module> run(["gifsicle", "-U", sys.argv[1]], stdout=tmpfile) File "/data/data/com.termux/files/usr/lib/python3.8/subprocess.py", line 489, in run with Popen(*popenargs, **kwargs) as process: File "/data/data/com.termux/files/usr/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/data/data/com.termux/files/usr/lib/python3.8/subprocess.py", line 1700, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'gifsicle' FileNotFoundError: [Errno 2] No such file or directory: 'gifsicle' Sep 23, 2020
@nikitalita
Copy link

install gifsicle

@F36
Copy link
Author

F36 commented Oct 2, 2020

install gifsicle

is this correct pip install pygifsicle

@nikitalita
Copy link

nope

@F36
Copy link
Author

F36 commented Oct 5, 2020

nope

then how plz tell

@kidneyweakx
Copy link

then how plz tell

@F36 Just install gifsicle from official website

And put the gifsicle.exe in the directory

@bchooxg
Copy link

bchooxg commented Feb 11, 2022

brew install gifsicle if you have home brew on mac

@bodqhrohro
Copy link
Owner

@kidneyweakx @bchooxg it is clear from the backtrace this is neither Windows nor macOS, but Android.

If gifsicle is absent from Termux repos, I may suggest installing a full-fledged Debian or other distribution via AnLinux in Termux, if you have enough space.

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

No branches or pull requests

5 participants