Skip to content

Python 3.13: ModuleNotFoundError: No module named 'aifc' #87

@IchbinLuka

Description

@IchbinLuka

In Python 3.13 the aifc module was removed from the standard library. However, this module is still used in pya/helpers/codec.py, meaning that it is not possible to import pya in Python versions 3.13 or higher.

Steps to reproduce:

  1. Create a virtualenv with Python 3.13 or higher
  2. Install pya
  3. Run import pya

One way to solve this problem could be to use the standard-aifc library for versions higher than 3.12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions