Skip to content

Python3.12 BUG: ModuleNotFoundError: No module named '_bz2' #116224

Closed as not planned
@Zhang-Junzhi

Description

@Zhang-Junzhi

Bug description:

import bz2

would result in an error:

ModuleNotFoundError: No module named '_bz2'

The python was compiled with the following commands:

CFLAGS='-O3 -DNDEBUG' ./configure --enable-optimizations
make
make install

CPython versions tested on:

3.12

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions