Python 3.6 can find cairo libs but not Python 2.7

D'Arcy Cain darcy at VybeNetworks.com
Fri Jul 13 09:29:49 EDT 2018


On 2018-07-13 08:05 AM, Peter Otten wrote:
> D'Arcy Cain wrote:
>> Nope.  Both are 64 bit.
> 
> Just to be 100% sure, what does
> 
> $ python2.7 -c 'import struct; print(struct.calcsize("l"))'
> 
> $ python3.6 -c 'import struct; print(struct.calcsize("l"))'
> 
> print? 

$ python2.7 -c 'import struct; print(struct.calcsize("l"))'
8
$ python3.6 -c 'import struct; print(struct.calcsize("l"))'
8

> If both print 8, what is sys.platform? (This is just that I can look at the 
> right branch of the ctypes.util source for differences)?

$ python2.7 -c 'import sys; print(sys.platform)'
netbsd7
$ python3.6 -c 'import sys; print(sys.platform)'
netbsd7

Thanks for checking this.

-- 
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:darcy at Vex.Net VoIP: sip:darcy at VybeNetworks.com


More information about the Python-list mailing list