Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'StrEnum' from 'enum' (/usr/lib/python3.10/enum.py) #21

Open
yochananmarqos opened this issue Apr 2, 2023 · 0 comments

Comments

@yochananmarqos
Copy link

I'm trying out cast_control and mpris_server both from the latest commits. I have StrEnum 0.4.10 installed, so I'm guessing something changed in Python 3.11? I'm still using 3.10.10.

Traceback (most recent call last):
  File "/usr/bin/cast_control", line 5, in <module>
    from cast_control.app.cli import cli
  File "/usr/lib/python3.10/site-packages/cast_control/app/cli.py", line 9, in <module>
    from .daemon import DaemonArgs, MprisDaemon, get_daemon, get_daemon_from_args
  File "/usr/lib/python3.10/site-packages/cast_control/app/daemon.py", line 10, in <module>
    from .state import setup_logging
  File "/usr/lib/python3.10/site-packages/cast_control/app/state.py", line 13, in <module>
    from ..base import DARK_END, DARK_ICON, DATA_DIR, DESKTOP_NAME, DESKTOP_SUFFIX, DESKTOP_TEMPLATE, LIGHT_END, \
  File "/usr/lib/python3.10/site-packages/cast_control/base.py", line 4, in <module>
    from enum import StrEnum, auto
ImportError: cannot import name 'StrEnum' from 'enum' (/usr/lib/python3.10/enum.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant