DrLuke / aubio-beat-osc

Aubio Onset Beat Detection to OSC
MIT License
11 stars 2 forks source link

"Unable to import Numpy array from Aubio module (error -1)" #3

Closed PhilipBanse closed 1 year ago

PhilipBanse commented 1 year ago

Hi! Installed aubio-beat-osc on a Raspberry Pi 4 Model B Rev. 1.5 (latest OS) with

pip install aubio-beat-osc

When I run

aubio-beat-osc

or

aubio

no matter what option or parameter it shows

Unable to import Numpy array from Aubio module (error -1) Unable to import Numpy umath from Aubio module (error -1) Segmentation fault

python 3.9.2 aubio 0.4.9 pyaudio 0.2.13 numpy 1.19.5 python-osc 1.8.1

Any idea? Thanks!

DrLuke commented 1 year ago

Hello!

This seems to be an issue with aubio itself on raspberry pi. An easy workaround is to install aubio through the debian package repository:

pip uninstall aubio
apt-get install python3-aubio libatlas-base-dev