From: Andy T. <an...@ha...> - 2007-02-05 08:20:28
|
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:al...@tw... 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/ |