On Wednesday 07 May 2014 20:54:15 Hugh Medal wrote: > Here you go: > > This is what happens with system python (2.7.5): > > hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx > ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx > > > Optimal_Software_Design_converted.lyx > Traceback (most recent call last): > File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 24, in <module> > import LyX > File "/usr/share/lyx/lyx2lyx/LyX.py", line 26, in <module> > import gzip > File "/usr/local/lib/python2.7/gzip.py", line 9, in <module> > import zlib > ImportError: No module named zlib
The last line is the weird part. What is the output of $ which -a python It seems from the path of the call to gzip.py that you are using a version of python different from the system one. That is why I suspect that you have two python versions installed. The system install python into /usr not /usr/local and it seems that that is precisely what you are using and thus the error. FWIW the zlib module is present, in 64 bit install (x86-64), at /usr/lib64/python2.7/lib-dynload/zlibmodule.so -- José Abílio
