On Monday 09 September 2002 18:59, Juergen Spitzmueller wrote: > > Doesn't work for me neither. This is what I get: > > Could not find platform independent libraries <prefix> > Could not find platform dependent libraries <exec_prefix> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] > 'import site' failed; use -v for traceback
This shows that python wasn't properly installed. > Traceback (most recent call last): > File "/home/juergen/lyx-qt/lib/lyx2lyx/lyx2lyx", line 18, in ? > import getopt, sys, string, re > ImportError: No module named getopt This is only confirm my suspects, getopt is in python standard library so this should not be an issue. > after export PYTHONHOME=/usr/lib/python2.0 the first error disappears, but > the getopt issue is still there. > > juergen@eddy:~> python -V > Python 2.0 Just for backward compatibility I am using python 1.5.2 > juergen@eddy:~> getopt --version > getopt (enhanced) 1.1.2 I have this too. So the problem appears to be in the python installation. IIRC you are using suse, which version? Where does the python package comes from? > Regards, > Jürgen. -- José Abílio