Closed Martmists-GH closed 3 years ago
Known issue: https://github.com/anibali/pywebp/issues/15
Is there a way to install pywebp with the package manager version of libwebp for now?
Not currently. The reason why I chose not to use the system-installed version of webp is that that libwebp can be compiled with different feature sets enabled, and I wanted to be sure of the available functionality.
Are there any alternative python libraries you recommend for handling webp files?
Perhaps you could try Pillow, which apparently does have WebP support.
I was having the same issue on a Bright Cluster node and I solved (brilliantly, let me tell you) with rsync <myvenv>/lib/python3.8/site-packages/*webp* user@node:<myothervenv>/lib/python3.6/site-packages
.
Honestly, it's a little miracle that it worked.
(the *webp*
pattern is necessary to copy the three webp*
directories and _webp.abi3.so
)
Python: tried 3.8.6, 3.9.0 and 3.9.0rc2 Libwebp: 1.1.0-1 from Arch Linux "extra" repositories
$ gcc -v
$ pip install webp