It looks like you could open a python terminal and then issue the commands:
>>> import sip >>> sip.SIP_VERSION_STR '4.15.1' #this is the output http://stackoverflow.com/questions/3524168/how-do-i-get-a-python-modules-version-number-through-code On Tue, Aug 27, 2013 at 11:30 PM, aperi2007 <[email protected]> wrote: > sorry, I have nt any python knowledgment. > > How can I get the SIP version from python inside ? > > > On 28/08/2013 03:20, Saulteau Don wrote: >> >> There's been a bug filed at http://hub.qgis.org/issues/8507 that looks >> related. >> >> What version of SIP are you running? On arch linux, it fails with >> python2-sip v4.15.1 after sip was updated. >> >> On Tue, Aug 27, 2013 at 3:15 PM, Andrea Peri <[email protected]> wrote: >>> >>> Hi, try-ing to compile from last trunk on my RedHat server I'm have this >>> error: >>> >>> .... >>> sip: Deprecation warning: /usr/share/sip/PyQt4/QtCore/QtCoremod.sip:130: >>> %OptionalInclude is deprecated, use %Include and the 'optional' argument >>> instead >>> sip: Deprecation warning: >>> /usr/share/sip/PyQt4/QtCore/qabstractfileengine.sip:266: Annotations >>> should >>> not be used in explicit C/C++ signatures >>> sip: Deprecation warning: /usr/share/sip/PyQt4/QtCore/qfile.sip:138: >>> Annotations should not be used in explicit C/C++ signatures >>> sip: Deprecation warning: /usr/share/sip/PyQt4/QtCore/qobject.sip:237: >>> %GetCode should be used a sub-directive >>> sip: Deprecation warning: >>> /usr/share/sip/PyQt4/QtCore/qtextstream.sip:125: >>> Annotations should not be used in explicit C/C++ signatures >>> sip: Deprecation warning: /usr/share/sip/PyQt4/QtCore/qtimer.sip:49: >>> Annotations should not be used in explicit C/C++ signatures >>> sip: Deprecation warning: /usr/share/sip/PyQt4/QtGui/QtGuimod.sip:33: >>> %Module version number should be specified using the 'version' argument >>> sip: Deprecation warning: /usr/share/sip/PyQt4/QtGui/QtGuimod.sip:66: >>> %OptionalInclude is deprecated, use %Include and the 'optional' argument >>> instead >>> sip: Deprecation warning: >>> /usr/share/sip/PyQt4/QtGui/qapplication.sip:114: >>> %AccessCode should be used a sub-directive >>> sip: Deprecation warning: /usr/share/sip/PyQt4/QtGui/qshortcut.sip:42: >>> Annotations should not be used in explicit C/C++ signatures >>> sip: Deprecation warning: /usr/share/sip/PyQt4/QtXml/QtXmlmod.sip:33: >>> %Module version number should be specified using the 'version' argument >>> sip: Deprecation warning: >>> /usr/share/sip/PyQt4/QtNetwork/QtNetworkmod.sip:33: %Module version >>> number >>> should be specified using the 'version' argument >>> sip: QGraphicsEffect has not been defined >>> make[2]: *** [python/core/sipcorepart0.cpp] Error 1 >>> make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2 >>> make: *** [all] Error 2 >>> >>> Any thought ? >>> >>> thx >>> >>> -- >>> ----------------- >>> Andrea Peri >>> . . . . . . . . . >>> qwerty àèìòù >>> ----------------- >>> >>> _______________________________________________ >>> Qgis-user mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/qgis-user >> >> _______________________________________________ >> Qgis-user mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/qgis-user > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
