Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems installing snappy on python on Alpine Linux

When i am trying to install Snappy on alpine linux using: pip install snappy I am getting the following error when it tries to install a required package called cypari.

I installed snappy from "apk add snappy"

    gcc -fno-strict-aliasing -Os -fomit-frame-pointer -g -DNDEBUG -Os -fomit-frame-pointer -g -fPIC -Ilibcache/pari64/include -I/usr/include/python2.7 -c cypari_src/_pari.c -o build/temp.linux-x86_64-2.7/cypari_src/_pari.o
In file included from cypari_src/_pari.c:460:0:
cypari_src/implementation.c:47:22: fatal error: execinfo.h: No such file or directory
 #include <execinfo.h>
like image 310
dwardu Avatar asked Oct 31 '25 15:10

dwardu


1 Answers

I solved this problem by running apk add libexecinfo libexecinfo-dev

Then using apk add snappy

Then using pip install python-snappy

if you use pip install snappy it installs a completely different library which is this

like image 193
dwardu Avatar answered Nov 02 '25 05:11

dwardu