From: Victor v. R. <vic...@gm...> - 2007-02-02 11:11:47
|
That solution worked perfectly well. Alex, thanks! PythonCard is installed in the site-packages in /Library/Frameworks/ python.framework/Versions/2.4/lib/python2.4. So that is good. Now, when I started the so-called Acid Test I get an error in the new installation: - "The document "minimal.py" could not be opened." - But after a while it opens! When I open a console I see the following: - $ "/usr/bin/pythonw" "/Library/Frameworks/Python.framework/ Versions/2.4/lib/python2.4/site-packages/PythonCard/samples/minimal/ minimal.py" && echo Exit status: $? && exit 1 (while minimal is open - that seems to be correct uh? Does anyone know why I get this error. Have set all the settings as displayed in the installation guide. Thanks again, Victor On 2 Feb 2007, at 01:05, 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 > > |