[Python] No module named '_lzma'

Discussão em 'Python' iniciado por Stack, Maio 26, 2025.

  1. Stack

    Stack Membro Participativo

    I'm working on Ubuntu 22.04 LTS and I'm trying to debug my python code within a virtual environment created with the help of pyenv and poetry 1.1.13 as a package manager.

    I get this message in the debugging console trying to import


    ModuleNotFoundError: No module named '_lzma'
    ​

    when i try to import _lzma using:

    from _lzma import *


    From what I can gather its related to package installation errors, I have tried installing it manually but the problem persists.

    Continue reading...

Compartilhe esta Página