Skip to content

Bug: The latest version installed from PyPi requires Click, which isn't installed along with the other dependencies #122

Description

@virtadpt

Description

I installed Peek into a venv to give it a try on one of my codebases and it threw an error about not finding click.

Repro

python -mvenv peek
. peek/bin/activate
pip install peek-code
peek --version

Traceback (most recent call last):
  File "/home/drwho/peek/bin/peek", line 3, in <module>
    from peek.cli import app
  File "/home/drwho/peek/lib/python3.14/site-packages/peek/cli.py", line 118, in <module>
    import click as _click
ModuleNotFoundError: No module named 'click'

Environment

  • peek --version: v0.3.0
  • OS: Arch Linux (20260728)
  • Python: v3.14.6
  • Terminal (and size): MATE Terminal v1.28.1, 80x25

Extra

Running pip install click causes peek to work:

(peek) {14:07:35 @ Sat Aug 15}
[drwho @ windbringer ~] () $ pip install click
Collecting click
  Using cached click-8.4.2-py3-none-any.whl.metadata (2.6 kB)
Using cached click-8.4.2-py3-none-any.whl (119 kB)
Installing collected packages: click
Successfully installed click-8.4.2

(peek) {14:07:48 @ Sat Aug 15}
[drwho @ windbringer ~] () $ peek --version
peek v0.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions