[Qgis-developer] Python import error on OS X

William Kyngesburye woklist at kyngchaos.com
Thu Mar 18 11:50:42 EDT 2010


Do you know what you cleaned up?  It would be good to know what kinds of things can interfere with the distributed binaries.

On Mar 17, 2010, at 10:42 PM, Gary Sherman wrote:

> On Wed, Mar 17, 2010 at 8:15 AM, William Kyngesburye
> <woklist at kyngchaos.com> wrote:
>> Which OSX version?
> Snow
>> 
>> Did you try the full version, and does it work?
>> 
>> I tried it from the Python console in Qgis (standalone and full) on both Leopard and Snow with no errors.
> 
> I think it was a conflict somewhere on my system. I cleaned up things
> and reinstalled Xcode. Now I can build using Xcode and CMake without
> problems.
> 
> Thanks,
> 
> -gary
>> 
>> On Mar 13, 2010, at 3:04 PM, Gary Sherman wrote:
>> 
>>> On OS X using the standalone build (1.4) from KyngChaos:
>>> 
>>> from qgis.core import *
>>> TypeError: metaclass conflict: the metaclass of a derived class must
>>> be a (non-strict) subclass of the metaclasses of all its bases
>>> 
>>> Any ideas?

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

"Mon Dieu! but they are all alike.  Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings.  And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan




More information about the Qgis-developer mailing list