-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot install with pipx and python 3.12 on MacOS #2391
Comments
Same behavior is seen with python==3.13.0. Should probably be linked to #1984. If you use something like pyenv or mise that shims python, either add
|
Thanks for trying aider and filing this issue. Python 3.12 should work fine. How are you trying to install aider? |
I'm having the same issue. Followed the instructions on the aider website Keep getting this: `pip seemed to fail to build package: Some possibly relevant errors from pip install: Error installing aider-chat. cmd_2024-11-23_12.43.07_pip_errors.txt UPDATE: I reinstalled Python and updated pip Here is the new error: UPDATE 2: I installed Python 3.12.7 and tried again. Seems to have installed ✅ |
Aider works with python 3.9-3.12, not with 3.13. |
Tip: Just use the command |
Thanks for the reply. I moved back to Windsurf. Cheers!
… On 8 Dec 2024, at 11:35, Damian Barabonkov ***@***.***> wrote:
Tip:
Just use the command pipx install aider-chat --python python3.12 for now until 3.13 support comes.
—
Reply to this email directly, view it on GitHub <#2391 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A6Z5ITAFJOQ6NNNVFDQ7XLL2EQVIJAVCNFSM6AAAAABR7EP32SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRVGY3TINRZGU>.
You are receiving this because you commented.
|
Give |
I definitely will do but I’m a layman when it comes to web development so I’ve just found it easier to have it as a package and play with the lego blocks as opposed to understanding what material the blocks are made of.
Trial is running out in 2 days though so I’ll look at it properly then.
What have you built with it?
… On 8 Dec 2024, at 11:38, Damian Barabonkov ***@***.***> wrote:
Give aider another shot ;) I promise you it is good (coming from a user, unaffiliated with the dev team).
—
Reply to this email directly, view it on GitHub <#2391 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A6Z5ITHVCVYY3CDVSMWO2HL2EQVUDAVCNFSM6AAAAABR7EP32SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRVGY3TKNJYHE>.
You are receiving this because you commented.
|
I'm labeling this issue as stale because it has been open for 2 weeks with no activity. If there are no additional comments, I will close it in 7 days. Note: A bot script made these updates to the issue. |
if someone wants to try this in docker I attach my "generic Arch Yay/Pacaur Dockerfile" with those few lines at the end: as full file attached, here is TL;DR- FROM archlinux:latest
(...) install developer packages, fakeroot, etc...
(...) add auruser and set it in sudoers to ``auruser ALL=(ALL) NOPASSWD: ALL"`
(...) as auruser build and install yay
(...) build and install auracle with all dependencies
(...) and vim, etc...
# and finally we have base to feel comfortable inside container, or to easily add more...
# so let's install aider-chat:
USER root
RUN pacman -S --noconfirm python-pip python-pipx
USER auruser
RUN yay -S --noconfirm python312
RUN pipx install aider-chat --python python3.12
# Set the default command
CMD ["/bin/bash"] (yes, there is a lot of redundancy there, and it's working as expected as it's development Dockerfile to have more tools, comfortable for experimenting, coding, etc) |
Issue
Installation with pipx seems to require numpy 1.24, which requires distutils, which does not exist anymore in python 3.12.
pip seemed to fail to build package:
numpy==1.24.3
Some possibly relevant errors from pip install:
ModuleNotFoundError: No module named 'distutils'
Error installing aider-chat
Version and model info
MacOS 14.7.1
Python 3.12.7
pipx 1.7.1
The text was updated successfully, but these errors were encountered: