pyvips icon indicating copy to clipboard operation
pyvips copied to clipboard

OSError: cannot load library 'libvips.so.42' on Google Colab

Open acycliq opened this issue 3 years ago • 2 comments

I am trying to use pyvips on a Google Colab notebook but I getting this error OSError: cannot load library 'libvips.so.42. See screenshot below: image

To be fair, it doesnt seem to be pyvips' problem....something is probably missing from the Colab environment, but I was just wondering if anyone has any idea how to fix it please

acycliq avatar Feb 18 '22 21:02 acycliq

Hello @acycliq,

You need to install the libvips binary as well. Try:

https://colab.research.google.com/drive/1W5RIdk-F6YOynOx-LNJFWSCzLyxFY8F5

You get rather an old libvips (8.4.5), so you might need to build your own binary if you need something more modern.

jcupitt avatar Feb 19 '22 03:02 jcupitt

Thanks so much John! libvips (8.4.5) shouldnt be a problem. This is so helpful!

acycliq avatar Feb 19 '22 16:02 acycliq