Python 3.6 can find cairo libs but not Python 2.7

Terry Reedy tjreedy at udel.edu
Thu Jul 12 16:17:32 EDT 2018


On 7/12/2018 3:52 PM, D'Arcy Cain wrote:
> $ python2.7 -c "import ctypes.util;
> print(ctypes.util.find_library('cairo'))"
> libcairo.so.2
> $ python3.6 -c "import ctypes.util;
> print(ctypes.util.find_library('cairo'))"
> None
> 
> I have the 3.6 version of py-cairo installed.  Any thoughts?
> 
> NetBSD 7.1.2

what is sys.path?  Where in py-cairo installed?


-- 
Terry Jan Reedy




More information about the Python-list mailing list