[Pythonmac-SIG] OS X wxPython.xrc and pyexpat conflict.
Jack Jansen
Jack.Jansen@oratrix.com
Thu, 19 Dec 2002 23:27:16 +0100
On donderdag, dec 19, 2002, at 22:33 Europe/Amsterdam, Robin Dunn wrote:
> OS X 10.2.x
> MachoPython 2.2.x
> PyXML 0.8.x
>
> The wxPython.xrc module includes a copy of the expat lib, and PyXML's
> pyexpat module does as well. When both are imported into Python on OS
> X an ImportError "Failure linking new module" results presumably
> because of conflicts between the two copies of expat. They seem to
> coexist okay on Linux and Win32 platforms. Does anyone have any
> suggestions for getting them to play nice with each other on OS X? Is
> there an easy way to hide the expat symbols in the XRC library for
> example?
I think that moving to Python 2.3a0 is the only option. Or somehow hack
up Python 2.2 to not use flat namespaces.
--
- Jack Jansen <Jack.Jansen@oratrix.com>
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma
Goldman -