You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the advice of a few server members, I decided to put together a tag about the removal of audioop in versions after 3.12 (3.13 and onwards) that could be used as an informative, short-hand way to explain to people why they are getting a ModuleNotFoundError pertaining to this module.
---embed:
title: audioop in 3.13+---
In newer, post-3.12, versions of Python, the library `audioop`, and other similar libraries, have been removed from the standard library. In bots made using `discord.py`, you will get a `ModuleNotFoundError` as it tries to locate a package it expects to already be there, but is not.
This can be solved through one of two methods:
1. downgrading to 3.12.x which _does_ have `audioop` (and others) in its standard library
2. installing the package `audioop-lts` (and others) using `pip` (`audioop` has long-term support)
Either way works, although you may run into further dependency issues like this if you use unsupported versions with packages online.
Thank you,
@axololly
The text was updated successfully, but these errors were encountered:
Hi,
As per the advice of a few server members, I decided to put together a tag about the removal of
audioop
in versions after 3.12 (3.13 and onwards) that could be used as an informative, short-hand way to explain to people why they are getting aModuleNotFoundError
pertaining to this module.Thank you,
@axololly
The text was updated successfully, but these errors were encountered: