Running `llm install` returns error `bad interpreter`

Open
#135 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start by reproducing llm install llm-gpt4all on the reported macOS, Python, and pipx setup, then inspect why the llm entry point references a missing /Users/dkam/.local/pipx/venvs/llm/bin/python. Done means the installation completes without emitting the bad interpreter error.

Written by the indexing model from the issue text.

Description

Hi - thanks for all the awesome stuff you do! I'm following your tweet ( https://twitter.com/simonw/status/1683864138454532096?s=20 ) but getting an error:

$ llm install llm-gpt4all                
zsh: /Users/dkam/.local/bin/llm: bad interpreter: /Users/dkam/.local/pipx/venvs/llm/bin/python: no such file or directory

However it seems the command completes successfully anyway.

On MacOSX 13.4.1, llm 0.6.1, python 3.11.4, homebrew 4.1.1

Dominant language
Python
Stars
12.5k
Forks
998
Avg merge
6d 12h
Merged PRs (30d)
15

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from simonw/llm

All issues in simonw/llm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.