Description: -- Steps to Reproduce: 1. Open console window 2. Change to the "C:\Program Files\LibreOffice\program" folder 3. Run python.exe 4. Execute "import lzma" statement Actual Results: Command fails Expected Results: Command succeeds Reproducible: Always User Profile Reset: Yes Additional Info: As with similar bug #168512 which addresses missing sqlite3 module, there is no easy workaround for this one too (for the same reason). Both sqlite3 and lzma modules could be useful when working with Pandas library, since they provide additional means for dataset importing/exporting tasks.
Comment from bug 168215: Regarding lzma, I added it in 892c0d2ef0ee43e079aff51dcc09572d76689ec1 in but it was reverted in 590157ac1584fb829b0c61905298114e7c4adfde
Well, from my point of view, I don't see any rationale why it was removed either, back in 2015.
Moving to NEW
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6408a49ac5e4c9236b2f9fe88534b6bc9c8e58b9 tdf#168513: python3: bundle lzma It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.