bodqhrohro / giftolottie

Converts animated GIFs into animated stickers for Telegram (*.tgs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

F36 opened this issue · comments

commented

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'

install gifsicle

commented

install gifsicle

is this correct pip install pygifsicle

nope

commented

nope

then how plz tell

then how plz tell

@F36 Just install gifsicle from official website

And put the gifsicle.exe in the directory

brew install gifsicle if you have home brew on mac

@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.