Skip to content

TypeError: print_version() takes 2 positional arguments but 3 were given #48

Open

Description

@ariel-frischer
  • topalias version: topalias-2.0.20
  • Python version: Python 3.10.9
  • Operating System:

Description

Just trying to test this out, do I need a lower version of python3?

What I Did

python3 -m topalias

My error:

  File "/Users/ari/Library/Python/3.10/lib/python/site-packages/click/core.py", line 2322, in process_value
    value = self.callback(ctx, self, value)
TypeError: print_version() takes 2 positional arguments but 3 were given

Activity

  1. slikts commented on Apr 5, 2023

    @slikts

    Same here.

  2. DeeliN221 commented on May 17, 2025

    @DeeliN221

    It's likely due to incompatible Click version, this works on my env.

    uv venv -p 3.9 ta # only support <=3.9
    source ta/bin/activate 
    uv pip install "click<8.0" topalias # specify click<8
    topalias
  3. meteoritt commented on Jan 24, 2026

    @meteoritt
    Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions