Iris: cannot "Sudo pip," have to use venv, doesn't work

Hey all. I’ve been intermittently trying to make mopidy play songs out of my server for weeks. The problem seems to be venv-related but I have no clue, in my mind it’s two different gardens.

So, I installed mopidy via apt in debian bookworm, seems to be working fine though I have yet to hear any music from it. Iris, however, can only be installed by PyPI, and the instructions say to do a “sudo python3 pip” but when I attempt that in Debian it refuses and directs me to use a venv. So I did that, but when I click the iris link on the homepage I get a 404.

It also gave me a command line switch to force the sudo pip, but it’s an ugly-sounding switch, something about breaking system packages, and for all I know it’s going to install its own weird version of something crucial, I’ve done this dance before and this server is running some important stuff that I’d just as soon not spend the day reinstalling. I can always put in a Pi in that room, I’m just, it’s sitting there with a sound card, why can’t it be the music for that room? Well, because all non-gui audio players are apparently hellishly difficult to get working, is apparently the answer.

If there was another obvious choice to try, I totally would, but there doesn’t seem to be a lot of action in the audio-player-for-headless-servers-with-web-frontends sector. :>

Maybe I should delete the apt install and do both Mopidy and Iris with pip?


Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config” as user mopidy
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false

verbosity = 0
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s
color = false
config_file =

mixer = software
mixer_volume =
output = autoaudiosink
buffer_time =

scheme =
hostname =
port =
username =
password =

enabled = true
country = NZ
locale = en_NZ
verify_certificates = true
snapcast_enabled = true
snapcast_host = localhost
snapcast_port = 1780
snapcast_ssl = false
snapcast_stream = Default
spotify_authorization_url =
lastfm_authorization_url =
genius_authorization_url =
data_dir = $XDG_DATA_DIR/iris

enabled = true
media_dirs =
excluded_file_extensions =
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

enabled = true
hostname =
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy

enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =

enabled = true

enabled = true
protocols =
metadata_blacklist =
timeout = 5000

enabled = true
max_search_results = 100
media_dir = /home/james/Music
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
included_file_extensions =
excluded_file_extensions =
directories =
Albums local:directory?type=album
Artists local:directory?type=artist
Composers local:directory?type=artist&role=composer
Genres local:directory?type=genre
Performers local:directory?type=artist&role=performer
Release Years local:directory?type=date&format=%25Y
Tracks local:directory?type=track
Last Week’s Updates local:directory?max-age=604800
Last Month’s Updates local:directory?max-age=2592000
timeout = 10
use_artist_sortname = false
album_art_files =

enabled = true
hostname =
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
default_playlist_scheme = m3u

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.