Hi @HTWG_Elite, I have run into something similar on my mac and it had something to do with installing pyaudio. Until that completed successfully, I got the same ModuleNotFoundError. Try:
sudo apt-get install python-pyaudio
and see if this helps. There are also other suggestions on the web if you search for “fatal error portaudio.h not found raspberry pi”
Hi @yodaimpulse,
unfortunately “sudo apt-get install python-pyaudio” doesn’t work…
I installed pyaudio via…
sudo apt-get install libasound-dev
cd portaudio
./configure
make
… succesfully.
When I try “pip3 install edge_impulse_linux” again, I still get the same error. If I understand that right, what the error shows, it couldn’t include “portaudio.h”. This file however is installed.
I have no clue how to fix that problem.