On Friday 02 August 2002 18:23, John Levon wrote: > On Fri, Aug 02, 2002 at 06:14:25PM +0100, José Abílio Oliveira Matos wrote: > > > ImportError: No module named error > > > > Do you have installed lyx? The other options would be for you to have . > > in your path. :-) > > Oh, whoops, it comes with lyx2lyx sorry. Pilot error. It works now. > > Now I shall run things in lyx-tests/ :)
I can run lyx2lyx wherever you want to. Sometimes I use a sym link to ease the task. > (installing lyx won't help btw, because there's nothing in lib/ that > installs lyx2lyx is ther ??) You are right. > > I can imagine what is the problem, and I know the cure, add to sys.path > > the directory where the other files are placed. > > These files aren't placed anywhere ?? The question is if lyx2lyx is placed in a different directory from the other files. We don't need this with symbolic links, but if for some reason I decide that (such as we have reLyX) we will need to add something like sys.path.append("/usr/share/lyx/lib/lyx2lyx") or any other directory where the files from lyx2lyx are installed. > regards > john -- José Abílio