In my attempt to use paura
in the environment I use (WSL Ubuntu),
bballdave025@MY_MACHINE:~/programs/paura$ uname -a
Linux MY_MACHINE 4.4.0-18362-Microsoft #836-Microsoft Mon May 05 16:04:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux
bballdave025@MY_MACHINE:~/programs/paura$ bash --version | head -n 1
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
bballdave025@MY_MACHINE:~/programs/paura$ python3 -V
Python 3.6.9
I went through the full installation steps (including installing pyAudioAnalysis
). However, I ran into the following problems during my first attempt to run paura
. (I realize there's no --help
option, but I wanted to see if it would run). These are my compolete paura
steps.
bballdave025@MY_MACHINE:~/programs$ git clone https://github.com/tyiannak/paura.git
Cloning into 'paura'...
remote: Enumerating objects: 137, done.
remote: Counting objects: 100% (137/137), done.
remote: Compressing objects: 100% (96/96), done.
remote: Total 169 (delta 78), reused 93 (delta 40), pack-reused 32
Receiving objects: 100% (169/169), 9.92 MiB | 11.73 MiB/s, done.
Resolving deltas: 100% (94/94), done.
bballdave025@MY_MACHINE:~/programs$ cd paura
bballdave025@MY_MACHINE:~/programs/paura$ ls
LICENSE README.md model modelMEANS paura.py paura_lite.py requirements.txt
bballdave025@MY_MACHINE:~/programs/paura$ pip3 install -r ./requirements.txt
bballdave025@MY_MACHINE:~/programs/paura$ python3 paura.py --help
/home/bballdave025/.local/lib/python3.6/site-packages/pydub/utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Traceback (most recent call last):
File "paura.py", line 10, in <module>
from pyAudioAnalysis import audioTrainTest as aT
File "/mnt/c/David/audio_annotation/pyAudioAnalysis_probablyUsed/program_wsl/pyAudioAnalysis/pyAudioAnalysis/audioTrainTest.py", line 17, in <module>
import plotly
ModuleNotFoundError: No module named 'plotly'
bballdave025@MY_MACHINE:~/programs/paura$
I prefer ffmpeg
, so I fixed the first part by checking for and then running the install for it.
bballdave025@MY_MACHINE:~/programs/paura$ which ffmpeg
bballdave025@MY_MACHINE:~/programs/paura$ # Nothing
bballdave025@MY_MACHINE:~/programs/paura$ sudo apt-get -y install ffmpeg
Then I fixed the second problem with
bballdave025@MY_MACHINE:~/programs/paura$ pip3 install plotly
After that, things seemed to work fine.