[vtkusers] Re: Installation Problems

Thomas Werner thomasvw at rogers.com
Wed Jun 19 19:27:47 EDT 2002


I tried Mathieus suggestion, and indeed my PYTHONPATH was unset.

I did the following:

setenv PYTHONPATH "/usr/lib/python2.2:/usr/lib/vtk/python"

and ran the test, which failed, giving me the following:


[thomas at Guiness ~]$ python test_vtk.py
'import site' failed; use -v for traceback
Traceback (innermost last):
  File "test_vtk.py", line 3, in ?
    import sys, traceback, re
  File "/usr/lib/python2.2/traceback.py", line 3, in ?
    import linecache
  File "/usr/lib/python2.2/linecache.py", line 9, in ?
    import os
  File "/usr/lib/python2.2/os.py", line 38
    return [n for n in dir(module) if n[0] != '_']
                ^
SyntaxError: invalid syntax
[thomas at Guiness ~]$



More information about the vtkusers mailing list