Troubleshooting
Symptoms with samples, the license daemon, custom sound, supported environments and hardware.
Find the symptom you’re seeing, then follow the link to the page that explains it.
| Symptom | Where it’s explained |
|---|---|
| An error while running a sample (Python or C++) | Samples — the Troubleshooting step of each sample |
ImportError: … version 'GLIBC_2.34' not found when importing NumPy (Python SDK v1.6.0 or earlier) | The v1.6.0 and earlier Python SDK used NumPy, and NumPy’s prebuilt wheel can require a newer glibc than your system has. Build NumPy from source instead: pip install numpy==1.26.4 --no-binary numpy. The v1.6.1 wheel does not depend on NumPy. |
A custom sound dataset upload fails, or training stalls or ends in FAILED | Custom sound — Troubleshooting |
| The license daemon won’t install or start, or the SDK can’t reach it (C++ and Python) | License daemon below |
| Checking whether your OS, CPU, or GPU is supported | Getting Started → supported platforms · FAQs → supported environments |
| Checking hardware requirements, or monitoring resource use | FAQs → hardware resources · FAQs → monitoring performance |
License daemon
Starting with v1.6.1, the C++ and Python SDKs on Linux verify the license through a small system daemon, sense-lm-daemon. Android runs the license in-process and needs none of this. Install it as shown in the Samples (step 3 of the C++ and Python samples).
Prerequisites
- Linux with systemd. The daemon runs as a systemd service reached over a Unix socket, and the installer stops with
systemd not foundwhensystemctlis missing. Environments that don’t run systemd, such as typical containers, can’t host it. - glibc 2.27 or newer.
- An
x86_64,aarch64orarmv7lmachine. sudo, only while installing. The SDK itself runs as a normal user in thesense-lmgroup, which the installer creates.
Check that it is running
systemctl status sense-lm-daemon.service # "active (running)" when healthy
ls -la /run/sense-lm/daemon.sock # the socket the SDK connects toThe daemon opens its own socket and runs as a normal service. The installer also writes a sense-lm-daemon.socket unit but leaves it off on purpose: if it were started, systemd would take the socket path first and Init would hang. Don’t enable or start it.
Common problems
| Symptom | What to do |
|---|---|
Permission denied / EACCES when the SDK connects to the daemon | Your user is not in the sense-lm group yet, or the session hasn’t picked it up. Check with id, add your user to the group with sudo usermod -aG sense-lm $USER if missing, then run newgrp sense-lm or log out and back in. newgrp only refreshes the current shell. |
| The daemon fails to start | Run systemctl status sense-lm-daemon.service and journalctl -u sense-lm-daemon.service -n 50 --no-pager. Common causes are a stale daemon still holding the socket (sudo systemctl restart sense-lm-daemon.service) or a glibc older than 2.27. If sense-lm-daemon.socket shows as active, stop and disable it (sudo systemctl disable --now sense-lm-daemon.socket), then restart the service. |
| You need a clean reinstall | sudo ./sense/sl/scripts/uninstall_daemon.sh --purge, then sudo ./sense/sl/scripts/install_daemon.sh --force and newgrp sense-lm. --purge also deletes the stored license state in /var/lib/sense-lm/ and the sense-lm group, and can’t be undone. Without --purge, the uninstaller keeps that state for a later reinstall. |
Upgrading from v1.6.0 or earlier
v1.6.1 replaces the Thales license manager that v1.4.0–v1.6.0 installed with sudo ./dinst. Install the new daemon as above. v1.6.1 no longer uses the old license manager; to remove it, run its uninstaller from the package of your previous SDK version:
cd sense/license # inside your previous (v1.6.0 or earlier) SDK package
sudo ./dunstLast updated
Need help? Contact support@cochl.ai
For Cochl.Sense Core, include the SDK version and the platform (Python, C++, or Android).

