Indeed, the plugin relies on a Python script (via fork/exec in C++) that uses the Python bindings. When I started working on the plugin I didn’t know about the C++ library.
Now that I’ve tried to get the C++ library working I see I need to setup my computer to build Tensorflow and Deep Speech; that’s not nearly as convenient as simply running pip install
to fetch and install a prebuilt wheel.
After downloading and extracting the pre-built native_client
binaries, I get an error when running deepspeech
because I don’t have libsox.so.2
installed (only libsox.so.3
):
$ ./deepspeech --help
./deepspeech: error while loading shared libraries: libsox.so.2: cannot open shared object file: No such file or directory
$ pacman -Qo /usr/lib/libsox.so.*
/usr/lib/libsox.so.3 is owned by sox 14.4.2-2
/usr/lib/libsox.so.3.0.0 is owned by sox 14.4.2-2
Do you know which Linux distro the pre-built binaries are built for? It doesn’t seem to be specified in the README for native_client
.