[Qgis-user] QGIS installation problem with Mac OSX 10.8.4 and some Qt4 Modules

William Kyngesburye woklist at kyngchaos.com
Sun Jul 7 13:02:40 PDT 2013


Hmm, so there is still an old SIP somewhere that the app is loading.  I'd suggest checking the python sys.path in the QGIS python console, but python is disabled so that won't work.

One thing to check - what python QGIS is linking to, in a Terminal:

otool -L /Applications/QGIS.app/Contents/MacOS/lib/libqgispython.dylib

On Jul 7, 2013, at 2:12 PM, Marcel Stadelmann wrote:

> I removed PYTHONPATH in my .bash_profile and recompiled everything from SIP on. But still the same error occurs in QGIS.
> 
> Am 07.07.2013 um 19:50 schrieb William Kyngesburye <woklist at kyngchaos.com>:
> 
>> Looks like the SIP and/or PyQt that QGIS finds at runtime is different from the one found in compilation.
>> 
>> This may be related to the PYTHONPATH in your .bash_profile - compilation sees this and may get the wrong SIP/PyQt, but OS X apps do see any environment settings in .bash_profile or any other shell init file.  Try commenting this out and reconfiguring and compiling QGIS.  You may need to go back to recompiling SIP and PyQt outside of homebrew.
>> 
>> On Jul 7, 2013, at 12:45 PM, Marcel Stadelmann wrote:
>> 
>>> Below the error message, there is the following additional text, but I don't know if it is with the PyQGIS related:
>>> Traceback (most recent call last):
>>> File "", line 1, in 
>>> RuntimeError: the sip module implements API v9.0 to v9.1 but the qgis.core module requires API v9.2
>>> 
>>> Am 07.07.2013 um 19:36 schrieb William Kyngesburye <woklist at kyngchaos.com>:
>>> 
>>>> Hooray for the obvious!  I thought I'd go crazy on this one.
>>>> 
>>>> Don't know about the non-starting python.  Were there any details with the error?  Maybe there is something in Console.app?
>>>> 

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"

- The Ruler of the Universe





More information about the Qgis-user mailing list