Skip to content
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

Install error using pipx #2721

Closed
Azkae opened this issue Dec 28, 2024 · 1 comment
Closed

Install error using pipx #2721

Azkae opened this issue Dec 28, 2024 · 1 comment

Comments

@Azkae
Copy link

Azkae commented Dec 28, 2024

Issue

I've tried to install aider using pipx:

pipx install aider-install
aider-install

I got the following error:

/bin/sh: /Users/me/Library/Application: No such file or directory
Failed to install aider: Command '/Users/me/Library/Application Support/pipx/venvs/aider-install/bin/uv tool install --force --python python3.12 aider-chat@latest' returned non-zero exit status 127.

The issue is fixed by modifying the install script as follows:

 def install_aider():
     try:
         subprocess.check_call(
-            f"{uv.find_uv_bin()} tool install --force --python python3.12 aider-chat@latest",
+            f"'{uv.find_uv_bin()}' tool install --force --python python3.12 aider-chat@latest",
             shell=True
         )
         subprocess.check_call("uv tool update-shell", shell=True)

I've wanted to submit a PR but I couldn't find the script in the repo.

Version and model info

No response

@paul-gauthier
Copy link
Collaborator

Thanks for trying aider and filing this issue.

This has been fixed in version 0.1.3 of aider-install. Thanks for reporting the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants