question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pi4 Ubuntu 20.04 vanilla pip3 pvporcupine install

See original GitHub issue
ubuntu@ubuntu:~/porcupine/demo/python$ pvporcupine_mic --keywords picovoice
Traceback (most recent call last):
  File "/usr/local/bin/pvporcupine_mic", line 5, in <module>
    from pvporcupine.demo.python.porcupine_demo_mic import main
  File "/usr/local/lib/python3.8/dist-packages/pvporcupine/__init__.py", line 2, in <module>
    from .resources.util.python import *
  File "/usr/local/lib/python3.8/dist-packages/pvporcupine/resources/util/python/__init__.py", line 1, in <module>
    from .util import KEYWORDS
  File "/usr/local/lib/python3.8/dist-packages/pvporcupine/resources/util/python/util.py", line 43, in <module>
    _PV_SYSTEM, _PV_MACHINE = _pv_platform()
  File "/usr/local/lib/python3.8/dist-packages/pvporcupine/resources/util/python/util.py", line 36, in _pv_platform
    pv_machine = _pv_linux_machine(platform.machine())
  File "/usr/local/lib/python3.8/dist-packages/pvporcupine/resources/util/python/util.py", line 13, in _pv_linux_machine
    model_info = [x for x in cpu_info.split('\n') if 'model name' in x][0]
IndexError: list index out of range

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kenarsacommented, May 28, 2020

We clarified that the PIP works on Raspberry Pi running Raspbian in v1.8. For other OSes on RPI the repo method probably will be the robust way to go.

1reaction
kenarsacommented, May 4, 2020

clone and follow the instructions here: https://github.com/Picovoice/porcupine#repository

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install Ubuntu 20.04 on Raspberry Pi 4 - Q-engineering
A thorough guide on how to install 64 bit Ubuntu 20.04 + OpenCV 4.4.0 + TensorFlow (Lite) 2.4.1 on a Raspberry Pi 4....
Read more >
pvporcupine - PyPI
Runs on Linux (x86_64), macOS (x86_64 and arm64), Windows (x86_64), Raspberry Pi, NVIDIA Jetson (Nano), and BeagleBone. Installation. pip3 install pvporcupine ...
Read more >
Official Ubuntu Desktop Support for the Raspberry Pi 4 is On ...
Want to see just how well Ubuntu desktop works on the latest Raspberry Pi? Here's a one hour live of Martin Wimpress installing...
Read more >
Rock Pi S issues with Wake words - Rhasspy Voice Assistant
Pi4 Ubuntu 20.04 vanilla pip3 pvporcupine install ... I installed Rhasspy 2.5.9 on the Rock Pi S direct, without Docker in between.
Read more >
How to Install pip on Ubuntu - Pi My Life Up
In this guide, you will learn how to install pip to the Ubuntu operating system. pip is a package manager for the Python...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found