On Sun, 2005-12-04 at 18:02 +0000, Malcolm wrote:
> Can anyone tell me how to get this going.
> The Install Guide has no instructions for installing any non-rpm
> versions on Linux and the rpm version doesn't seem to work.
>
Assuming you already have the wxPython libraries and so forth installed:
1. Download the PythonCard tarball and save it in your home directory.
2. Start a command line session
3. Unpack the tarball (tar -zxvf PythonCard-0.8.1.tar.gz)
4. cd PythonCard-0.8.1
5. su (type your root password when prompted)
6. python ./setup.py install
7. exit (to quit your root session and go back to your normal logon)
8.
python /usr/lib/python2.4/site-packages/PythonCard/samples/minimal/minimal.py
should then get the minimal sample application up and running.
> The rpm is for Mandrake & has a pre-requisite of python-base (which
> doesn't exist on SuSE).
> Also, since I knew I had python product installed properly, I installed
> the rpm using --nodeps option.
Never a very good idea to do this with RPMs from another distro, unless
you're absolutely sure you know what the effect will be! :-)
In this case, 'rpm -e' followed by the RPM name will get rid of it
safely for you. If you want to be ultra cautious, you could do 'rpm
--test -e' first to ensure that no warning messages are generated before
doing the 'rpm -e' for real.
> This seems to have installed it under /usr/lib/Python2.3 when the active
> version of Python on SuSE is in /usr/lib/Python2.4
>
That behaviour is by design - those RPMs are built for a version of
Mandrake which comes with Python2.3 as standard.
Hope this helps, please post back here if you have any further problems.
--
Phil Edwards
Brighton, UK
|