Fresh install of latest Raspberry OS with disk imager. Did apt update/upgrade. Connected USB disk and USB Audio device.
Installed Mopidy 4.0.2 based on Debian instructions.
Tried to install mopidy-local and get an error:
Installing collected packages: typing-extensions, h11, docstring-parser, annotated-types, typing-inspection, pydantic-core, httpcore, anyio, rich-rst, pydantic, httpx, cyclopts, mopidy, mopidy-local
Attempting uninstall: typing-extensions
Found existing installation: typing_extensions 4.13.2error: uninstall-no-record-file
Γ Cannot uninstall typing_extensions 4.13.2
β°β> The packageβs contents are unknown: no RECORD file was found for typing_extensions.
hint: The package was installed by debian. You should check if it can uninstall the package.
I tried to run the command with `--ignore-installed but that resulted in a different error:
Installing build dependencies β¦ error
error: subprocess-exited-with-error
Γ pip subprocess to install build dependencies did not run successfully.
β exit code: 1
β°β> [76 lines of output]
Looking in indexes: https://pypi.org/simple , https://www.piwheels.org/simple , https://www.piwheels.org/simple Collecting meson-python>=0.12.1 Using cached https://www.piwheels.org/simple/meson-python/meson_python-0.20.0-py3-none-any.whl.metadata (2.1 kB) Collecting pycairo>=1.16 Using cached pycairo-1.29.1.tar.gz (666 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error Γ Preparing metadata (pyproject.toml) did not run successfully. β exit code: 1 β°β> \[48 lines of output\] + meson setup /tmp/pip-install-siq0iev2/pycairo_567e7299d4f54403a99176ca7b282da6 /tmp/pip-install-siq0iev2/pycairo_567e7299d4f54403a99176ca7b282da6/.mesonpy-imon8tt4 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dwheel=true -Dtests=false --native-file=/tmp/pip-install-siq0iev2/pycairo_567e7299d4f54403a99176ca7b282da6/.mesonpy-imon8tt4/meson-python-native-file.ini The Meson build system Version: 1.12.0 Source dir: /tmp/pip-install-siq0iev2/pycairo_567e7299d4f54403a99176ca7b282da6 Build dir: /tmp/pip-install-siq0iev2/pycairo_567e7299d4f54403a99176ca7b282da6/.mesonpy-imon8tt4 Build type: native build Project name: pycairo Project version: 1.29.1 C compiler for the host machine: cc (gcc 14.2.0 "cc (Debian 14.2.0-19) 14.2.0") C linker for the host machine: cc ld.bfd 2.44 Host machine cpu family: aarch64 Host machine cpu: aarch64 Program python3 found: YES (/usr/bin/python3) Compiler for C supports arguments -Wall: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wconversion: YES Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wimplicit-function-declaration: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wreturn-type: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wstrict-aliasing: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wswitch-default: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -fno-strict-aliasing: YES Compiler for C supports arguments -fvisibility=hidden: YES Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1 Did not find CMake 'cmake' Found CMake: NO Run-time dependency cairo found: NO (tried pkg-config) ../cairo/meson.build:31:12: ERROR: Dependency "cairo" not found (tried pkg-config) A full log can be found at /tmp/pip-install-siq0iev2/pycairo_567e7299d4f54403a99176ca7b282da6/.mesonpy-imon8tt4/meson-logs/meson-log.txt \[end of output\] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed Γ Encountered error while generating package metadata. β°β> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. \[end of output\]note: This error originates from a subprocess, and is likely not a problem with pip.
Any idea how I can fix this issue?
Running: Raspberry Pi 4 Model B Rev 1.2 with 4GB.