[PyQt] installing sip on os x with canopy

Shahar Shani-Kadmiel kadmiel at post.bgu.ac.il
Fri Oct 25 11:21:05 BST 2013


Hi, trying to install pyqt4 so I am installing sip first.

I have  a canopy distribution of python with which I wish to use pyqt4.

trying to run python configure.py yields:

Shahar: sip-4.15.3 $ python configure.py 
This is SIP 4.15.3 for Python 2.7.3 on darwin.
The SIP code generator will be installed in
/Users/Shahar/Library/Enthought/Canopy_64bit/User/bin.
The sip module will be installed in
/Users/Shahar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages.
The sip.h header file will be installed in
/Applications/Canopy.app/appdata/canopy-1.0.3.1262.macosx-x86_64/Canopy.app/Contents/include/python2.7.
The default directory to install .sip files in is
/Users/Shahar/Library/Enthought/Canopy_64bit/User/share/sip.
The platform/compiler configuration is macx-g++.
Creating siplib/sip.h...
Creating siplib/siplib.c...
Creating siplib/siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
Error: SIP requires Python to be built as a framework

hence make fails as-well.

any suggestions?

Thanks,
Shahar


More information about the PyQt mailing list