Skip to content

[BUG] No module named 'dbus' #2860

@iandark

Description

@iandark

When i call swaglyrics CLI or web i got error message

~$ swaglyrics -c 
Traceback (most recent call last):
  File "/home/linuxbrew/.linuxbrew/bin/swaglyrics", line 33, in <module>
    sys.exit(load_entry_point('swaglyrics', 'console_scripts', 'swaglyrics')())
  File "/home/USERIAM/Dev/SwagLyrics-For-Spotify/swaglyrics/__main__.py", line 121, in main
    show_cli(make_issue)
  File "/home/USERIAM/Dev/SwagLyrics-For-Spotify/swaglyrics/__main__.py", line 68, in show_cli
    song, artist = spotify.current()  # get currently playing song, artist
  File "/home/linuxbrew/.linuxbrew/opt/python@3.9/lib/python3.9/site-packages/SwSpotify/spotify.py", line 136, in current
    return get_info_linux()
  File "/home/linuxbrew/.linuxbrew/opt/python@3.9/lib/python3.9/site-packages/SwSpotify/spotify.py", line 55, in get_info_linux
    import dbus
ModuleNotFoundError: No module named 'dbus'

I alreay installed python-dbus
sudo apt-get install python-dbus
sudo apt install python3-dbus

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