Edge-impulse on Raspberry pi

I have installed edge impulse on raspberry pi and am currently trying to create inference on raspberry pi but when i run my code on the terminal i keep getting this error:
ImportError: No module named edge_impulse_linux.runner

Hi @obioheme

What steps did you take when installing?

pip3 install edge_impulse_linux -i https://pypi.python.org/simple

Best

Eoin

Yes I used that when installing and I even did it again and it showed “requirement already satisfied” for edge_impulse_linux version 1.0.8, psutil 5.9.5 and numpy 1.21.6

Hi @obioheme

Can you give the specific commands and tutorial that you are following? Python and pip can be a minefield.

There are many areas where people miss steps or use the wrong command and most are hopefully already on the forum/docs.

If perhaps you are following an external guide or missed a step please share the commands and steps.

Best

Eoin

This was the setup tutorial i used for the installation
sudo apt update

curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
sudo apt install -y gcc g++ make build-essential nodejs sox gstreamer1.0-tools gstreamer1.0-plugins-good gstreamer1.0-plugins-base gstreamer1.0-plugins-base-apps
npm config set user root && sudo npm install edge-impulse-linux -g --unsafe-perm

When I tried installing the second code from nodesource, node 12x it said the file had depreciated.

@obioheme If the EdgeImpulse tutorial calls for v12.x then even tho it is depreciated it should work. However, you can also try the latest v20 with install instructions here

My guess here is you need to Change Directory to where the EI got installed to or add it to the $PATH.