On Friday 02 August 2002 18:03, John Levon wrote: > On Fri, Aug 02, 2002 at 05:58:43PM +0100, José Abílio Oliveira Matos wrote: > > How do you run it? > > Does it works if you run it from command line? > > moz moz 109 lyx2lyx ~/src/lyx/lyx-tests/testlongtable.lyx > Traceback (innermost last): > File "/usr/bin/lyx2lyx", line 19, in ? > from error import error, warning > ImportError: No module named error
Do you have installed lyx? The other options would be for you to have . in your path. :-) I can imagine what is the problem, and I know the cure, add to sys.path the directory where the other files are placed. > same from lyx > > moz moz 118 ls /usr/lib/python1.5/*err* > ls: /usr/lib/python1.5/*err*: No such file or directory This shows that python is searching in the standard library. > regards > john -- José Abílio