Jose' Matos a écrit :
On Saturday 12 November 2005 15:26, Adrien Rebollo wrote:
'import site' failed; use -v for traceback
What does happens if you call like it says in the warning?
$ python -v
I use FC4 and this never happened to me, this clearly indicates strong
borkage in python installation.
Yes indeed, python -v gives me :
"# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
'import site' failed; traceback:
ImportError: No module named site
Python 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>"
Then if I type anything, for example "help", I get
"Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'help' is not defined"
But when I am connected as "root", it works as it should, and LyX works too.
So there is a big problem of access rights in my Python install.
Anyway, it remains that LyX shouldn't have crashed.
Adrien