It run on windows but pynini need a "custom" wheel.
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
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.
this work:
pip install
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