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

New problem with installing on Ubuntu 20.04.3 LTS #305

Copy link
Copy link
@paulvonbehren

Description

@paulvonbehren
Issue body actions

I had kasa working on this system months ago. I haven't used it for a few weeks and it appears that unrelated updates cause kasa to fail (No module named 'importlib_metadata' with python3.8). I found a python issue - apparently the underscore changed to a period. I knew kasa was out of date, so I did a pip3 uninstall kasa followed by pip3 install kasa. This fails with
Traceback (most recent call last):
File "/usr/local/bin/kasa", line 5, in
from kasa.cli import cli
File "/usr/local/lib/python3.8/dist-packages/kasa/cli.py", line 61, in
async def cli(ctx, host, alias, target, debug, bulb, plug, lightstrip, strip, type):
File "/usr/local/lib/python3.8/dist-packages/asyncclick/decorators.py", line 304, in decorator
return option(*(param_decls or ("--version",)), **attrs)(f)
File "/usr/local/lib/python3.8/dist-packages/asyncclick/decorators.py", line 192, in decorator
_param_memo(f, OptionClass(param_decls, **option_attrs))
File "/usr/local/lib/python3.8/dist-packages/asyncclick/core.py", line 1750, in init
Parameter.init(self, param_decls, type=type, **attrs)
TypeError: init() got an unexpected keyword argument 'package_name'

This could be my error or a bug.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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.