Can't seem to run Edge-impulse-CLI without internet connection

Question/Issue:
Hello, I’m trying to run the edge-impulse-cli on my raspberry pi 4 without an internet connection. I was looking at this Issue and from the post it seems like I should be able to run the CLI without a network connection, however even with the .eim model in the correct folder the CLI keeps asking for my login information.

Hello @ahmadadil950,

Indeed, I can replicate your issue:

$> edge-impulse-linux-runner --model-file ~/.ei-linux-runner/models/380402/v1/model.eim
[RUN] Failed to run impulse getaddrinfo ENOTFOUND studio.edgeimpulse.com

Let me open an internal ticket.

Best,

Louis

1 Like

Hello @ahmadadil950,

We have identified the issue, @mateusz will fix this soon.

Thanks for the feedback.

Best,

Louis

1 Like

Hi @ahmadadil950
The fix has been just published edge-impulse-linux - npm (version 1.8.5)

Best regards,
Matt

2 Likes

Thank you for all of the help @louis @mateusz

Just one last question, how do I go about updating the edge-impulse-linux-runner to version 1.8.6?
I did update the edge-impulse-cli using npm, but it still shows edge-impulse-linux-runner as version 1.8.0

@ahmadadil950

You can uninstall and re-install again

npm uninstall -g edge-impulse-linux
npm uninstall -g edge-impulse-cli
npm prune

npm install -g edge-impulse-linux
npm install -g edge-impulse-cli

edge-impulse-linux --version
edge-impulse-cli --version
2 Likes