[neurosetta] Configuration problems]

ianseeks ianseeks at dsl.pipex.com
Sat Jan 3 04:34:02 PST 2004



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/positron:/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

<p>regards and thanks for your time and effort so far

Ian

--- >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