After installing this I ran into an error as soon as I tried running it. Something to do about No module named 'audioop' and No module named 'pyaudioop'.
Full stack-trace here: https://pastebin.com/jcCfENcc
| Git Clone URL: | https://aur.archlinux.org/aider-chat-venv.git (read-only, click to copy) |
|---|---|
| Package Base: | aider-chat-venv |
| Description: | AI pair programming in your terminal (installed with uv) |
| Upstream URL: | https://github.com/Aider-AI/aider |
| Licenses: | Apache-2.0 |
| Conflicts: | aider-chat |
| Provides: | aider-chat |
| Submitter: | AlphaJack |
| Maintainer: | AlphaJack (samuelbernardo) |
| Last Packager: | AlphaJack |
| Votes: | 9 |
| Popularity: | 0.016979 |
| First Submitted: | 2024-10-08 23:26 (UTC) |
| Last Updated: | 2026-07-04 11:17 (UTC) |
After installing this I ran into an error as soon as I tried running it. Something to do about No module named 'audioop' and No module named 'pyaudioop'.
Full stack-trace here: https://pastebin.com/jcCfENcc
@AlphaJack please notice that the current script for pkgver function is not working when retrieving the latest release from latest: it returns 0.86.0 and current release is 0.86.2, which means that patch releases can be kept out
Reference: https://pypi.org/project/aider-chat/#history
I just outdated the package because, following the pkgbuild structure, the release should be updated, even if the pip get the latest version.
Hi, PKGBUILD installed the last version, but in AUR version 0.83.0 is reporded
@samdorey You’re correct. The PKGBUILD creates a Python 3.13 venv, so pip ends up trying to build an ancient version of aider-chat (0.16.0), which didn’t have the upper bound but is not what the user wants. /cc @AlphaJack
==> Starting package()...
Collecting pip
Downloading pip-25.1.1-py3-none-any.whl.metadata (3.6 kB)
Collecting aider-chat
Downloading aider_chat-0.16.0-py3-none-any.whl.metadata (11 kB)
This fails to build for me: https://pastebin.com/wzB8DFg5 Feels like a Python version issue.
Using uv tool is a great way to install aider, and is one of the recommended methods. Two of the other recommended methods use that under the hood (aider-install, and the curl | sh methods).
Install docs: https://aider.chat/docs/install.html
Notes on aider's use of uv as an installer: https://aider.chat/2025/01/15/uv.html
@Auerhuhn Thanks!
As a side note, I found out that uv offers the uv tool install command. This allows for an isolated installation with a dedicated venv. Leaving this info here as I believe other users may wish to uv tool install aider-chat too.
@0xA1E and others: the upstream project is now compatible with Python 3.13. (A few bits and pieces are still missing but none of them matter as far as system packaging is concerned).
So I brought back the regular, non-venv version of the aider-chat PKGBUILD, which runs on system Python, and builds just fine in a chroot jail.
Pinned Comments
AlphaJack commented on 2025-03-15 15:43 (UTC)
Please do not flag the package as out of date, it will automatically download through
pipthe latest available version