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

clipea setup - Error: dependency "llm" not found. Run "clipea setup" to install #38

Open
zshimanchik opened this issue Jan 2, 2024 · 2 comments

Comments

@zshimanchik
Copy link

zshimanchik commented Jan 2, 2024

Error when trying to run "clipea setup"

  1. Installed on macos Sonoma 14.2.1 with pipx.
    Console output:
pipx install clipea-cli
pipx version is 1.4.0
Default python interpreter is '/usr/local/opt/[email protected]/libexec/bin/python'
Determined package name: clipea-cli
Package name determined in 0.0s
running /usr/local/opt/[email protected]/libexec/bin/python -m venv --without-pip /Users/zak/Library/Application Support/pipx/venvs/clipea-cli
running <checking pip's availability>
running /Users/zak/Library/Application Support/pipx/venvs/clipea-cli/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
running /Users/zak/Library/Application Support/pipx/shared/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
running /Users/zak/Library/Application Support/pipx/venvs/clipea-cli/bin/python --version
cleaned package spec: clipea-cli
⣷ installing clipea-clirunning /Users/zak/Library/Application Support/pipx/venvs/clipea-cli/bin/python -m pip --no-input install clipea-cli
running <fetch_info_in_venv commands>
get_venv_metadata_for_package: 583ms
cleaned package spec: clipea-cli
running <checking pip's availability>
Time since last upgrade of shared libs, in seconds: 1014. Upgrade will be run by pipx if greater than 2592000.
running <checking pip's availability>
  installed package clipea-cli 0.1.0, installed using Python 3.12.1
  These apps are now globally available
    - clipea
done! ✨ 🌟 ✨
which clipea
/Users/zak/.local/bin/clipea
clipea setup
Error: dependency "llm" not found. Run "clipea setup" to install
@richloh
Copy link

richloh commented Mar 7, 2024

Same issue here. Any findings?

@richloh
Copy link

richloh commented Mar 12, 2024

So I ran accross the same issue. It seems like a bug that got introduced in one of the later releases.

I was able to fix it by installing llm manually, and the manually setting the openai api key:

  • pipx install clipea-cli
  • pipx install llm
  • (ensure paths are set)
  • llm keys set openai

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