MOSS-TTS-Nano icon indicating copy to clipboard operation
MOSS-TTS-Nano copied to clipboard

It run on windows but pynini need a "custom" wheel.

Open TikoTako opened this issue 7 months ago • 3 comments

I used this billwuhao pynini-windows-wheels then:

uv pip install X:\Daunlods\pynini-2.1.6.post1-cp312-cp312-win_amd64.whl ()
uv pip install WeTextProcessing --no-deps
uv pip install importlib-resources

TikoTako avatar Apr 13 '26 16:04 TikoTako

Thanks for sharing the workaround.

The main issue is not Windows itself, but the pip installation for pynini. PyPI may not provide a compatible prebuilt pynini wheel for the target environment on Windows, so pure pip installation can fail unless a matching wheel is installed manually.

If pynini is installed first from conda-forge in the same environment, the project can be installed on Windows without this problem:

conda install -c conda-forge pynini=2.1.6.post1 -y
pip install git+https://github.com/WhizZest/WeTextProcessing.git
pip install -r requirements.txt

For users who prefer a pure pip workflow, your custom wheel approach is the correct workaround:

pip install <path-to-pynini-wheel>
pip install WeTextProcessing --no-deps
pip install importlib-resources
pip install -r requirements.txt

Thanks again. We will update the README to clarify the Windows installation options.

alpacaking avatar Apr 14 '26 10:04 alpacaking

this work:

pip install pip install WeTextProcessing --no-deps

cacard avatar Apr 17 '26 06:04 cacard

when using conda if it stuck on Collecting package metadata (repodata.json): try to update Conda version conda needs to update it manually in older versions and in order

Altaiar avatar Apr 23 '26 09:04 Altaiar