bodqhrohro / giftolottie

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

ModuleNotFoundError: No module named 'pkg_resources' #8

Closed iComputerfreak closed 2 years ago

iComputerfreak commented 4 years ago

I get the following error when executing your code:

$ python3 read.py input.gif output.tgs
Traceback (most recent call last):
  File "read.py", line 8, in <module>
    import vendor.gif2numpy
  File "/Users/jonasfrey/Desktop/temp/giftolottie/vendor/gif2numpy.py", line 30, in <module>
    from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'

I uploaded my Terminal output to Pastebin, so you can see the exact steps I took to install the dependencies and your script and see if I made any errors there: https://pastebin.com/qnBsDLcY

I was trying to execute the script on macOS 10.15.4 and was therefore using HomeBrew to install gifsicle.

bodqhrohro commented 2 years ago

Possibly a setuptools problem, see https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources

iComputerfreak commented 2 years ago

Since I can no longer reproduce the original error, I'm going to close this issue.