llm-play
brew install pipx
https://pypa.github.io/pipx/
pipx ensurepath
pipx completions
autoload -U bashcompinit
bashcompinit
eval "$(register-python-argcomplete pipx)"
note: claude says “pipx, pyenv, venv, virtualenv, conda and Docker” are options for this. Human expert says pipx
pipx install llm
from https://llm.datasette.io/en/stable/
pip install --upgrade pip
➜ repositories pipx install llm
Fatal error from pip prevented installation. Full pip output in file:
/Users/compiledwrong/.local/pipx/logs/cmd_2023-11-08_22.42.56_pip_errors.log
pip failed to build package:
aiohttp
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
aiohttp/_websocket.c:3042:55: error: no member named 'ob_digit' in 'struct _longobject'
aiohttp/_websocket.c:3097:55: error: no member named 'ob_digit' in 'struct _longobject'
aiohttp/_websocket.c:3238:55: error: no member named 'ob_digit' in 'struct _longobject'
aiohttp/_websocket.c:3293:55: error: no member named 'ob_digit' in 'struct _longobject'
aiohttp/_websocket.c:3744:47: error: no member named 'ob_digit' in 'struct _longobject'
error: command '/usr/bin/clang' failed with exit code 1
Error installing llm.
https://platform.openai.com/api-keys
llm install llm-claude
https://github.com/tomviner/llm-claude
https://console.anthropic.com/account/keys
llm keys set claude
llm -m claude-instant "Ten great names for a new space station"