[Pythonmac-SIG] Installing wxPython with ActivePython and OSX

Charles Hartman charles.hartman at conncoll.edu
Mon Apr 24 22:38:47 CEST 2006


On Apr 24, 2006, at 4:20 PM, Charles Hartman wrote:

>
> On Apr 24, 2006, at 3:52 PM, Charles Hartman wrote:
>
>>>>> import wx
>> Traceback (most recent call last):
>>    File "<stdin>", line 1, in ?
>>    File "//Library/Frameworks/Python.framework/Versions/2.4/lib/
>> python2.4/site-packages/wx-2.6-mac-unicode/wx/__init__.py", line 42,
>> in ?
>>      from wx._core import *
>>    File "//Library/Frameworks/Python.framework/Versions/2.4/lib/
>> python2.4/site-packages/wx-2.6-mac-unicode/wx/_core.py", line 4, in ?
>>      import _core_
>> ImportError: Failure linking new module: /Library/Frameworks/
>> Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.6-mac-
>> unicode/wx/_core_.so: Library not loaded: /usr/local/lib/wxPython-
>> unicode-2.6.3.2/lib/libwx_macud-2.6.0.dylib
>>    Referenced from: /Library/Frameworks/Python.framework/Versions/ 
>> 2.4/
>> lib/python2.4/site-packages/wx-2.6-mac-unicode/wx/_core_.so
>>    Reason: image not found
>
> I've discovered that I don't have
> 	/usr/local/lib/wxPython-unicode-2.6.3.2/lib/libwx_macud-2.6.0.dylib
> though I *do* haved
> 	/usr/local/lib/wxPython-unicode-2.6.3.2rc1/lib/ 
> libwx_macud-2.6.0.dylib
>
> So something in the installer is out of kilter.
>
> What's the best way to fix? I don't want to screw it up worse . . .
>
> Charles Hartman

I did the "obvious":
	sudo mv /usr/local/lib/wxPython-unicode-2.6.3.2rc1 /usr/local/lib/ 
wxPython-unicode-2.6.3.2
and it seems to work. Did I create havoc somewhere else?

COH



More information about the Pythonmac-SIG mailing list