Open weedge opened 2 months ago
when pip install pynini need openfst
macOS use brew install openfst; then brew list openfst, get include, lib dir, export those dir like this:
brew install openfst
brew list openfst
export C_INCLUDE_PATH=/usr/local/Cellar/openfst/1.8.3/include export LIBRARY_PATH=/usr/local/Cellar/openfst/1.8.3/lib/ export CPLUS_INCLUDE_PATH=/usr/local/Cellar/openfst/1.8.3/include pip install pynini==2.1.6
when pip install pynini need openfst
macOS use
brew install openfst
; thenbrew list openfst
, get include, lib dir, export those dir like this: