Re: Installation on OSX10.4 [Newbie]

Andy Todd <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Organization Dexter Pinion Appreciation Society
Message-ID <[email protected]>
Alex Tweedly wrote:
> Victor van Reijswoud wrote:
>> Hello,
>>
>> I have just tried to install PythonCard 0.8.2. Followed the  
>> instructions on http://pythoncard.sourceforge.net/ 
>> macosx_tiger_installation.html.
>>
>> installation of Python and wxPython seem to go as described.  
>> PythonCard, however does not installs in:
>> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/PythonCard/
>>
>> While it was expected to install in 2.4.
>>
>> Python seems to work though.
>>
>> What can I best do?
>>   
> I haven't got quite that far yet (and having been a PC user until 
> recently, I am still somewhat confused by the complex way things are 
> stored on Mac), but I suspect the problem may arise from this part of 
> the instructions ....
> 
> (the context is installing Python2.4, then wxPython and then PythonCard)
> 
>> Installing PythonCard
>>
>> The PythonCard-0.8.2.tar.gz file you downloaded should automatically 
>> be decompressed by Stuffit; if the file isn't already decompressed, 
>> then double-click the PythonCard-0.8.2.tar.gz file. You should now 
>> have a PythonCard-0.8.2 directory on your desktop. Open the Terminal 
>> application and do a cd to that directory and then run the setup.py 
>> script using the 2.3 Python you just installed. The sudo command will 
>> prompt you for your password.
> The second last sentence should, I think, say " ...using the 2.4 Python 
> you just installed".
> 
> For me, simply typing the "sudo python  ..." command that follows would 
> indeed use the system default 2.3 Python - and hence install it in the 
> wrong Framework directory.
> 
> You may be able to simply do
> 
> sudo /Library/Frameworks/Python.framework/Versions/2.4/bin/python2.4 
> setup.py install
> 
> but note I haven't yet tried it, and could easily be wrong, since I 
> don't fully understand this complexity.
> 
> There must be a recommended way to get a newly installed version (e.g. 
> 2.4) to be more easily used
> 
> 
> 
> 
> 
> 
> -- 
> 
> Alex Tweedly      mailto:[email protected]      www.tweedly.net
> 
> 
> ------------------------------------------------------------------------

A good alternative to the instructions on the web page is to use 
MacPorts - http://www.macports.org/

Follow their instructions to get the base library installed and then 
fire up the terminal prompt and type;

$ sudo port install python24 py-wxpython

That way you can track upstream fixes and releases by typing;

$ sudo port upgrade outdated


Regards,
Andy
-- 
--------------------------------------------------------------------------------
 From the desk of Andrew J Todd esq - http://www.halfcooked.com/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.