[PyQt] installing sip on os x with canopy

Darren Dale dsdale24 at gmail.com
Thu Nov 7 19:17:15 GMT 2013


On Thu, Nov 7, 2013 at 12:20 PM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> On Thu, 7 Nov 2013 12:13:34 -0500, Darren Dale <dsdale24 at gmail.com> wrote:
>> On Fri, Oct 25, 2013 at 6:21 AM, Shahar Shani-Kadmiel
>>> Error: SIP requires Python to be built as a framework
>>
>> I would also like to ask if there are suggestions or possible
>> workarounds. I would like to extend my project to use some GPU
>> libraries that ship with Continuum IO's Anaconda distribution, which
>> is apparently not available as a framework.
>
> Unfortunately I can't remember why this condition was imposed. Try
> removing the test in siputils.py and seeing what difference it makes.

Thank you, Phil. In snapshot-5e5fdf4cc35c, I commented lines 1564 and
1565 in siputils.py and was able to build and install SIP. I was also
able to install PyQt-4.10.3 (on Mavericks, no less, by linking with a
qt4 library installed via macports).


More information about the PyQt mailing list