I have RPI 5 with DAC+DSP, running Debian Bookworm.
When I try to install DSPToolKit using:
bash <(curl https://raw.githubusercontent.com/hifiberry/hifiberry-dsp/master/install-dsptoolkit)
I get the following:
:~ $ bash <(curl https://raw.githubusercontent.com/hifiberry/hifiberry-dsp/master/install-dsptoolkit)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1109 100 1109 0 0 10179 0 --:--:-- --:--:-- --:--:-- 10174
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
.....
alsa-utils is already the newest version (1.2.8-1+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Cloning into 'hifiberry-dsp'...
remote: Enumerating objects: 2903, done.
remote: Counting objects: 100% (530/530), done.
remote: Compressing objects: 100% (89/89), done.
remote: Total 2903 (delta 468), reused 475 (delta 441), pack-reused 2373 (from 1)
Receiving objects: 100% (2903/2903), 11.13 MiB | 4.71 MiB/s, done.
Resolving deltas: 100% (1822/1822), done.
python3: can't open file '/home/Claus/hifiberry-dsp/./setup.py': [Errno 2] No such file or directory
Removed "/etc/systemd/system/multi-user.target.wants/sigmatcp.service".
Created symlink /etc/systemd/system/multi-user.target.wants/sigmatcp.service /lib/systemd/system/sigmatcp.service.
It seems like the setup.py file is located in the src sub-folder.
If I do the install in the src folder by "sudo python3 ./setup.py install"
I see a number of error messages and when trying to run dsptoolkit I get:
Traceback (most recent call last):
File "/usr/local/bin/dsptoolkit", line 4, in <module>
__import__('pkg_resources').run_script('hifiberrydsp==0.3.0', 'dsptoolkit')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3248, in <module>
@_call_aside
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3223, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3261, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 617, in _build_master
ws.require(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 956, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 815, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 856, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyalsaaudio' distribution was not found and is required by hifiberrydsp
I hope someone can provide a hint ... Thanks!