Git Product home page Git Product logo

apnggif's Introduction

apnggif's People

Contributors

yukinarit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apnggif's Issues

Symbol not found on Apple Silicon

(line-stamp) yukinari@mac~/r/line-stamp> python line.py --help
Traceback (most recent call last):
  File "/Users/yukinari/repos/line-stamp/line.py", line 8, in <module>
    from apnggif import apnggif
  File "/Users/yukinari/.local/share/virtualenvs/line-stamp-ahb8wv1F/lib/python3.9/site-packages/apnggif.py", line 1, in <module>
    import apnggif_sys
ImportError: dlopen(/Users/yukinari/.local/share/virtualenvs/line-stamp-ahb8wv1F/lib/python3.9/site-packages/apnggif_sys.cpython-39-darwin.so, 2): Symbol not found: _png_init_filter_functions_neon
  Referenced from: /Users/yukinari/.local/share/virtualenvs/line-stamp-ahb8wv1F/lib/python3.9/site-packages/apnggif_sys.cpython-39-darwin.so
  Expected in: flat namespace
 in /Users/yukinari/.local/share/virtualenvs/line-stamp-ahb8wv1F/lib/python3.9/site-packages/apnggif_sys.cpython-39-darwin.so

๐Ÿค”

Not working on Apple M1

I was getting errors installing on a Mac M1

error: implicit declaration of function 'lseek' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (LSEEK(state->fd, state->start, SEEK_SET) == -1)

To fix, use homebrew to install the latest GCC
brew install gcc

Then set to use homebrew's gcc:

cd /opt/homebrew/bin      
ln -s gcc-11 gcc
ln -s g++-11 g++

Close your terminal

And using where gcc - find the path and put it in the command below:
env CC=/opt/homebrew/bin/gcc pip3 install apnggif

It should install successfully then.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.