Colin J. Williams wrote: > This action appears to call lyxpreview2ppm.py when opening a file. > lyxpreview2ppm.py attempts to import 'glob', which doesn't exist. > > The error message is: > > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "C:\Lyx\lyx\share\lyx\scripts\lyxpreview2ppm.py", line 48, in > ? > import glob, os, re, string, sys > ImportError: No module named glob > > I can't find this module and would appreciate advice as to how to > proceed.
Install a decent version of python. The one that Ruurd bundles with his LyX/Win package is a stripped down version lacking large chunks of functionality. http://www.python.org/download/ > After reinstalling LyX 1.3.5, on a Windows XP, LyX seems to perform OK > but the error mesage remains. The error message occurs because you are attempting to generate InstantPreview snapshots of your math equations. See the "Instant Preview" checkbox in the "Graphics" pane of the Edit->Preferences dialog. If that's what you want to do, then great. Else, uncheck the check box. See http://wiki.lyx.org/LyX/InstantPreview for what InstantPreview is and what you need to get it working. There are Windows-users on this list that do use the feature. -- Angus
