[Qgis-developer] Python import error on OS X

Gary Sherman gsherman at mrcc.com
Wed Mar 17 23:42:08 EDT 2010


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/
>
> "Oh, look, I seem to have fallen down a deep, dark hole.  Now what does that remind me of?  Ah, yes - life."
>
> - Marvin
>
>
>



-- 
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Chair, QGIS Project Steering Committee
-Desktop GIS Book:
 *http://desktopgisbook.com
-Spatial Hosting:
 *http://mrcc.com/hosting
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-


More information about the Qgis-developer mailing list