Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Missing anyio dependency on new install #1612

Copy link
Copy link
@dkozinn

Description

@dkozinn
Issue body actions

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'

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.