[neurosetta] Configuration problems]
Frank Benkstein
benkstein at math.tu-dresden.de
Thu Jan 1 16:53:34 PST 2004
Hi, Ian.
On Fri, 2 Jan 2004 00:19:21 +0000
ianseeks <ianseeks at dsl.pipex.com> wrote:
> Frank,
>
> Thanks for offering to help. I'm using SUSE 9.0. You maybe a newbie
> to Python but that's more experience than me as I've never used Python
> at all. :o) Here's the information you requested.
>
> Python was installed from SUSE ftp site.
> python -V : Python 2.3+
> Positron was installed via RPM from http://www.xiph.org/positron/
> rpm -q positron: positron-1.0-1
> and it is in /usr/bin/positron.
> "pyogg/pyvorbis" was installed via RPMs from http://www.vorbis.com/
> download_unix.psp#python
> rpm -q pyogg: pyogg-1.0-1
> rpm -q pyvorbis: pyvorbis-1.0-1
>
Please try the following:
- try to find out, where the rpms installed there files. ("rpm -q -l
packagename" I think)
- invoke python as a shell. type:
"# python"
">>> import sys"
">>> sys.path"
(Ctrl+D to exit)
The third command should give you a list where python looks for
additional packages and one entry should match the path where positron
and pyogg/vorbis installed their *.py and *.pyc.
This seems not to be the case at least for your installation of
positron.
To fix this permanently you should add
"export PYTHONPATH=/path/to/pyogg:/path/to/pyvorbis:/path/to/positron"
to your .bashrc or .bash_profile. Try it it first on the command line.
> I've re-read the http://www.xiph.org/positron/ page and it says "There
> have been reports that the RPMS on that page do not work on current
> RPM systems like RedHat 9 and Mandrake 9.1. We suggest you install
> pyogg and pyvorbis from the source tarballs. Please make sure you have
> the -devel or -dev packages for libogg and libvorbis installed if your
> distribution has that sort of thing." - maybe this is my problem too,
> i shall try downloading the source tomorrow.
Please try my suggestions first. I think the problem is rather trivial.
(Python looks /here/positron/config.pyc but it is installed
/there/positron/config.pyc)
> If that doesn't work then I might email the developer directly
> because, as you mention, this list seems very quiet.
You could but I think all he could do to fix this problem is to supply
rpms for each (rpm based - btw I love portage :-) distribution out
there. I don't think he really wants to do this.
> regards
>
> Ian
Bye
Frank Benkstein.
--- >8 ----
List archives: http://www.xiph.org/archives/
Neurosetta homepage: http://www.neurosetta.org/
To unsubscribe from this list, send a message to 'neurosetta-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Neurosetta
mailing list