[Pythonmac-SIG] Re: How to install packages?

Bob Ippolito bob at redivi.com
Wed Mar 24 20:57:52 EST 2004


wxWindows plays nicely with Stackless, at least on Win32.  I've  
personally seen Christian demo it working ;)

As far as Stackless on OS X is concerned, if you can wait a while  
(short number of weeks, probably), then I will be putting out a nice  
framework build.  I'm (a) currently at PyCon and don't have time and  
(b) am waiting for the dust to settle from the sprint in Berlin last  
week.  That said, it does work fine if you want to compile it yourself,  
so long as you use a recent release (CVS HEAD is best, probably).

-bob

On Mar 24, 2004, at 4:59 PM, pythonmac at gisborne.emailuser.net wrote:

> Thanks for this. All now seems to be working.
>
> My ultimate aim here is to use all this with Stackless. If anyone has  
> any advice about this, please speak up.
>
> I did as you suggested.
>
>> 	From: 	  kevino at tulane.edu
>> 	Subject: 	Re: [Pythonmac-SIG] (no subject)
>> 	Date: 	March 24, 2004 15:39:48 CST
>> 	To: 	  bob at redivi.com
>> 	Cc: 	  pythonmac at gisborne.emailuser.net, pythonmac-sig at python.org
>>
>> Hi all,
>>
>> In this case, the symlink won't break, because that package is a  
>> wxPython built for Jaguar. (And an old version as well.) So  
>> everything's going into /Library/Frameworks/Python.... I see Robin  
>> already posted a link to the new package.
>>
>> Also, since PythonLauncher is running /usr/local/bin/pythonw, it  
>> would seem that the machine has an old Jaguar installation of  
>> MacPython on it. So MacPython for Jaguar needs to be removed from the  
>> system by following instructions here:
>>
>> http://homepages.cwi.nl/~jack/macpython/uninstall.html
>>
>> Thanks,
>>
>> Kevin
>>
>> On Mar 24, 2004, at 12:47 PM, Bob Ippolito wrote:
>>
>>>
>>> On Mar 24, 2004, at 3:17 PM, pythonmac at gisborne.emailuser.net wrote:
>>>
>>>>> On Mar 24, 2004, at 2:18 PM, pythonmac at gisborne.emailuser.net  
>>>>> wrote:
>>>>>
>>>>>> Panther. Latest update.
>>>>>>
>>>>>> Installed MacPython extensions for Panther.
>>>>>>
>>>>>> Installed wxPython for Panther.
>>>>>>
>>>>>> Go to /Applications/wxPythonOSX-2.4.1.2.
>>>>>>
>>>>>> Open Demos. Double-click on arbitrary demo. See this:
>>>>>>
>>>>>> $ "/usr/local/bin/pythonw"   
>>>>>> "/Applications/wxPythonOSX-2.4.1.2/demo/wxButton.pyc"  && echo  
>>>>>> Exit status: $? && exit 1
>>>>>> Traceback (most recent call last):
>>>>>>   File "/Applications/wxPythonOSX-2.4.1.2/demo/wxButton.py", line  
>>>>>> 2, in ?
>>>>>> ImportError: No module named wxPython.wx
>>>>>>
>>>>>> Wonder about how to install packages on OS X.
>>>>>>
>>>>>> Search archives. Find assertion that packages go in
>>>>>>
>>>>>> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>>>>>> python2.3/site-packages
>>>>>>
>>>>>> Find followup posting in February by Bob saying that:
>>>>>>
>>>>>> site-packages itself is a  symlink to /Library/Python/2.3
>>>>>>
>>>>>> Become further confused, because this is quite clearly *not* the  
>>>>>> case on my system -- the two folders have utterly disparate  
>>>>>> content.
>>>>>>
>>>>>> Try copying wxPython folder from /Library/Python/2.3 to  
>>>>>> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>>>>>> python2.3/site-packages
>>>>>>
>>>>>> Try to run demo again. Same result.
>>>>>>
>>>>>> Become utterly confused, decide to ask mailing list. Aim to put  
>>>>>> the answer on the FAQ, where it clearly belongs.
>>>>>
>>>>> It sounds like the wxPython installer, or something else, broke  
>>>>> your installation.  /System/Library/..../python2.3/site-packages  
>>>>> SHOULD BE a symlink to /Library/Python/2.3
>>>>>
>>>>> -bob
>>>>
>>>> I remedied that, but I still got the same error.
>>>>
>>>> So I reinstalled wxPython. Still got the same error.
>>>>
>>>> So I reinstalled MacPython-Panther, then reinstalled wxPython.  
>>>> Still got the same error.
>>>
>>> It's likely that installing wxPython is going to break this symlink  
>>> every time you do it.  MacPython-Panther does not create this  
>>> symlink (it's there when you install 10.3), so re-installing it  
>>> won't make a difference.
>>>
>>> -bob
>>>
>>>
>>> _______________________________________________
>>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>>
>>
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig




More information about the Pythonmac-SIG mailing list