FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Missing anyio dependency on new install · Issue #1612 · python-kasa/python-kasa · GitHub

Repository navigation

Missing anyio dependency on new install #1612

Closed as not planned
Closed as not planned

Description

I've just installed python-kasa via pip install python-kasa on an Ubuntu 22.04.5 LTS machine. Running some of the sample code works fine, but trying to run anything using the CLI (even just kasa --help) using the cli returns a ModuleNotFoundError. I see that in #990 this was removed as a dependency, and of course installing anyio myself fixes this but I wanted to report the problem.

Example showing the issue:

kasa --help

Traceback (most recent call last):
File "/home/david/.local/bin/kasa", line 3, in
from kasa.cli.main import cli
File "/home/david/.local/lib/python3.10/site-packages/kasa/cli/main.py", line 3, in
from kasa.cli.main import cli
File "/home/david/.local/lib/python3.10/site-packages/kasa/cli/main.py", line 13, in
import asyncclick as click
File "/home/david/.local/lib/python3.10/site-packages/asyncclick/init.py", line 10, in
from .core import Argument as Argument
File "/home/david/.local/lib/python3.10/site-packages/asyncclick/core.py", line 39, in
from .termui import confirm
File "/home/david/.local/lib/python3.10/site-packages/asyncclick/termui.py", line 13, in
import anyio
ModuleNotFoundError: No module named 'anyio'

Activity

  1. github-actions commented on Feb 24, 2026

    There hasn't been any activity on this issue recently. This issue has been automatically marked as stale because of that. It will be closed if no further activity occurs.
    Please make sure to update to the latest python-kasa version and check if that solves the issue.
    Thank you for your contributions.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL