bodqhrohro / giftolottie

Converts animated GIFs into animated stickers for Telegram (*.tgs)
MIT License
235 stars 55 forks source link

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

Open F36 opened 4 years ago

F36 commented 4 years ago

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'

nikitalita commented 4 years ago

install gifsicle

F36 commented 4 years ago

install gifsicle

is this correct pip install pygifsicle

nikitalita commented 4 years ago

nope

F36 commented 4 years ago

nope

then how plz tell

kidneyweakx commented 4 years ago

then how plz tell

@F36 Just install gifsicle from official website

And put the gifsicle.exe in the directory

bchooxg commented 2 years ago

brew install gifsicle if you have home brew on mac

bodqhrohro commented 2 years ago

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