When importing xml.parsers.expat from within sublime plugin I get an error:
- Code: Select all
File "./PluginRT.py", line 1, in <module>
File ".\xml\parsers\expat.py", line 4, in <module>
ImportError: No module named pyexpat
The bundled ST python seems to have this module, zipped inside python26.zip
Is there a way I could fix this and use xml.parsers.expat? Maybe the error is platform-specific (I'm on Linux)?