Skip to content

ch 16: PortAudio library not found #21

@dblanding

Description

@dblanding

I now have Raspberry Pi OS Full (64-bit) and have successfully installed piper-tts.
I have progressed to Ch16, p8 where I ssh to the robot:

doug@raspi4:~ $ robotpython
Python 3.13.5 (main, Jun 25 2025, 18:55:22) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from robot.common.speaking import speak
2025-10-13 06:09:19.400186934 [W:onnxruntime:Default, device_discovery.cc:164 DiscoverDevicesForPlatform] GPU device discovery failed: device_discovery.cc:89 ReadFileContents Failed to open file: "/sys/class/drm/card1/device/vendor"
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    from robot.common.speaking import speak
  File "/home/doug/robot/common/speaking.py", line 3, in <module>
    import sounddevice as sd
  File "/home/doug/robotvenv/lib/python3.13/site-packages/sounddevice.py", line 71, in <module>
    raise OSError('PortAudio library not found')
OSError: PortAudio library not found

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions