[neurosetta] Configuration problems]

Frank Benkstein benkstein at math.tu-dresden.de
Sat Jan 3 04:58:02 PST 2004



On Sat, 3 Jan 2004 12:34:02 +0000
ianseeks <ianseeks at dsl.pipex.com> wrote:

> Hi Frank,
> 
> I did the "rpm -ql" on the packages and created the PYTHONPATH
> accordingly. It seems that using the RPMs puts the files all over the
> disk and relating to previous versions of Python. I've tried your
> suggestions below 
> 
> Here's the output from python before adding PYTHONPATH
> >>> import sys
> >>> sys.path
> ['', '/usr/lib/python23.zip', '/usr/lib/python2.3',
> '/usr/lib/python2.3/ plat-linux2', '/usr/lib/python2.3/lib-tk',
> '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages']
> >>>
> 
> i've set PYTHONPATH as follows:
> PYTHONPATH=/usr/bin/python2.3:/usr/lib/python2.2/site-packages/positr
> on:/usr/ lib/python1.5/site-packages/ogg
> 
> Here's the output from the above actions:
> ~> export
> PYTHONPATH=/usr/bin/python2.3:/usr/lib/python2.2/site-packages/
> positron:/usr/lib/python1.5/site-packages/ogg~> python
> Python 2.3+ (#1, Oct  2 2003, 23:03:59)
> [GCC 3.3.1 (SuSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> sys.path
> ['', '/usr/bin/python2.3',
> '/usr/lib/python2.2/site-packages/positron', '/usr/
> lib/python1.5/site-packages/ogg', '/usr/lib/python23.zip', '/usr/lib/
> python2.3', '/usr/lib/python2.3/plat-linux2',
> '/usr/lib/python2.3/lib-tk', '/ usr/lib/python2.3/lib-dynload',
> '/usr/lib/python2.3/site-packages']
> >>>
> ~> positron config
> Traceback (most recent call last):
>   File "/usr/bin/positron", line 22, in ?
>     from positron.config import Config
> ImportError: No module named positron.config
> 
> 
> regards and thanks for your time and effort so far
> 
> Ian
> 

Please remove the "positron/" from
"/usr/lib/python2.2/site-packages/positron" in your PYTHONPATH.

More easily a soft link /usr/lib/python2.3/site-packages/positron to
/usr/lib/python2.2/site-packages/positron should do it, too.
--- >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