On 9/2/2010 8:38 AM, Styliani Karra wrote:
To whom it might concern,

I am trying to install lyx in my computer and  I am getting an error
saying : Lyx has been closed because of an unexpected situation likely
caused by a flaw in the software.Then if reading the error information
says : Lyx reconfiguring user directory 'import site' failed;use -v for
traceback
Tracebac(most recent call last):
File "C:/Program Files/Lyx16/bin/../Resources/configure.py@", line 11, in
<module>  import sys, os, re, shutil, glob
ImportError: No module named os
LyX: Done!
LayourFilelist::Read:unable to find textclass file'. Exiting.
Completed

Can someone help with this error please?


First check that you have a folder C:\Program Files\Lyx16\bin\Lib, and that it contains (among many files) os.py and os.pyc. LyX installs a version of Python (scripting language) in its bin directory. Apparently Python is at least partly installed (else the configuration script would not have gotten as far as it did), but it's claiming not to be able to find the 'os' module (os.pyc). So one possibility is that the installer somehow failed to install all necessary files.

/Paul


  • install lyx Styliani Karra
    • Re: install lyx Paul A. Rubin

Reply via email to