Provides RHVoice libraries for rhvoice-wrapper
Project description
rhvoice-wrapper-bin
Provides RHVoice libraries for rhvoice-wrapper
. Depends on rhvoice-wrapper-data
, that contains languages and voices.
If this package installed, rhvoice-wrapper
will automatically use it by default.
Install on Linux
This will download and build RHVoice and may take many time
apt-get install --no-install-recommends scons build-essential python3-pip python3-setuptools python3-wheel
pip install rhvoice-wrapper-bin
Install on Windows
Binary
python -m pip install --upgrade pip setuptools wheel
python -m pip install rhvoice-wrapper-bin --only-binary rhvoice-wrapper-bin
Build
Install manually: git, Unicode NSIS and Visual Studio 2015 (2013+ must works)
python -m pip install --upgrade pip setuptools wheel
python -m pip install scons
python -m pip install rhvoice-wrapper-bin --no-binary rhvoice-wrapper-bin
Usage
rhvoice-wrapper
will automatically use data path from rhvoice-wrapper-bin
(but of course of rhvoice-wrapper-data
).
On Linux you must set package library path for LD before run python scripts. You may set LD_LIBRARY_PATH
, this must be works:
export LD_LIBRARY_PATH=$(pip3 show rhvoice-wrapper-bin | grep Location | awk '{print $2}')/rhvoice_wrapper_bin/lib/
python3 -u <script using rhvoice_wrapper>
Get info from library
import rhvoice_wrapper_bin
# All the paths will None in error
# Contains path to the RHVoice library
print(rhvoice_wrapper_bin.lib_path)
# Contains path to the RHVoice data
print(rhvoice_wrapper_bin.data_path)
# Contains path to the RHVoice libraries. Must be set as dynamic libraries path
print(rhvoice_wrapper_bin.LIBS_PATH)
# Contains path to the rhvoice-wrapper-bin
print(rhvoice_wrapper_bin.PATH)
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rhvoice-wrapper-bin-0.1.3.tar.gz
(17.3 kB
view hashes)
Built Distributions
Close
Hashes for rhvoice-wrapper-bin-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcd6097ee76729cb4d004f5ed5663c856a8ad01fa3620008e74a3eea0220dac8 |
|
MD5 | 8440b1064ecae7a12cf7c4aa9496c88e |
|
BLAKE2b-256 | 70fe4d8b2788b01a4a4114bf89b0d8880c194fd737d8fb77a4bce9ddf5be01c4 |
Close
Hashes for rhvoice_wrapper_bin-0.1.3-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32a262ae8eaf6933319a628dd5f9c82e8eb973281a34bd5b9a802af5b5aac74e |
|
MD5 | 8c755d027194f0cbaf49c21f1d065e00 |
|
BLAKE2b-256 | 2e188a4b70ddbb4c348f605f5ee9b336f559335ea4c5f5df6747e680de656503 |
Close
Hashes for rhvoice_wrapper_bin-0.1.3-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d382634a3fd55b0f3a382a037a1249982b266d7e5ee3e34094382443464943f3 |
|
MD5 | 42091a9b1c452eb91259baa0df4a64ad |
|
BLAKE2b-256 | cdf5cec65ee4a26fd842abe3df7177a4cd96f01ed9c8a34c5d4c9d614af93e6f |