On Aug 19, 2005, at 1:00 PM, Bryan Murdock wrote:
> You are trying to install a Mandrake rpm on a SuSE system. I don't
> know that much about how rpm works deep down, but it's probably
> looking for a Mandrake python package in order to fullfill
> dependencies.
>
> It is possible to tell rpm to install something ignoring dependencies,
> but I'm not so sure this is a good idea.
>
> Bryan
>
I can't help on the specifics of installing from an RPM on Linux, but I
can say that PythonCard itself is pure Python. If you have Python 2.3.x
or higher and a get wxPython 2.5.2.8 or higher (wxPython 2.6.x
preferred) then you can simply download the tar.gz file or zip or get
PythonCard from cvs. If you're able to run the wxPython demo,
PythonCard should work too once you have it installed.
Python simply needs to be able to find PythonCard on its path, so
running the following command in the PythonCard directory after it has
been uncompressed will install it into the Lib/site-packages directory
of the version of Python you installed it with.
python setup.py install
Alternatively, you can put the PythonCard directory in the directory
that is part of your PYTHONPATH environment variable, which is
typically used if you are working from a version updated regularly from
cvs. Any package or module found on the PYTHONPATH will be used before
a version found on the normal sys.path. You can check your path by
starting the python interpreter and then entering
>>> import sys
>>> sys.path
ka
|