- This topic has 8 replies, 3 voices, and was last updated 4 years, 9 months ago by .
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
Home › Forums › Help and Support › No module named xml.parsers.expat
DisplayCal versions 3.53.0 and 3.8.2 both fail to start with the ImportError above. on OPENSuSE Leap 15.1. Has anyone hit this problem? I’m clearly missing something!
The complete message is below.
ImportError: No module named xml.parsers.expat
Traceback (most recent call last):
File “/usr/bin/displaycal”, line 6, in <module>
main()
File “/usr/lib64/python2.7/site-packages/DisplayCAL/main.py”, line 95, in main
from wxwindows import BaseApp
File “/usr/lib64/python2.7/site-packages/DisplayCAL/wxwindows.py”, line 18, in <module>
import xml.parsers.expat
ImportError: No module named xml.parsers.expat
It seems your Python installation is broken – the python XML module is part of the Python standard library.
Hello,
I can confirm, that DisplyCal don’t starts not only under Opensuse Leap 15.1 (which live version I have tested), but also under Leap 15.0 (which I use) with the above message.
How can I repair my broken Python installation under Leap 15.0 (and possibly Leap 15.1)?
Thanks in advance,
Vadim.
Reinstall Python 2.7. If that doesn’t fix it, file a bug against the Python 2.7 package on the openSUSE bug tracker.
Thanks, Florian,
but that have not helped either.
Do you intend to make an .appimage if you will have a spare time may be?
Vadim.
Have you filed a bug on the openSUSE bug tracker?
Not really, but I have written to the OpenSuse forum and have 1 answer from moderator. He has successfully installed previous version of Displaycal, that is in Leap 15.1 repo (3.5.3.0) and launched it. However, he has declined to upgrade it to the newest version (3.8.2). I can remember, that 3.5.3.0 has worked in my Leap 15.0 also, and the problem begun similarly with upgrade to 2.8.2; but after upgrade, the 3.53.0 has not worked either – I have tried to downgrade it under live Leap 15.1 (but not tried to downgrade it under 15.0).
This is a link to OpenSuse forum:
Thanks,
Vadim.
The problem is not DisplayCAL related. The Python XML module is missing from your Python install.
Thanks.
I have successfully launched 3.8.2 in other Leap 15.0 install/computer. Everything works as expected so far. I will try to put a question to opensuse forum, how can I troubleshoot this issue.
Vadim.