Running setup.py clean for pynini Successfully built pyworld Failed to build pynini ERROR: Failed to build installable wheels for some pyproject.toml based projects (pynini)
nction -Wno-unused-local-typedefs -funsigned-char extensions/_pywrapfst.cpp: In function ‘PyObject* __pyx_pf_10_pywrapfst_11SymbolTable_6read_text(PyTypeObject*, PyObject*, bool)’: extensions/_pywrapfst.cpp:21183:24: error: ‘SymbolTableTextOptions’ is not a member of ‘fst’; did you mean ‘SymbolTableToString’? 21183 | std::unique_ptrfst::SymbolTableTextOptions __pyx_v__opts; | ^~~~~~~~~~~~~~~~~~~~~~ | SymbolTableToString extensions/_pywrapfst.cpp:21183:46: error: template argument 1 is invalid 21183 | std::unique_ptrfst::SymbolTableTextOptions __pyx_v__opts; | ^ extensions/_pywrapfst.cpp:21183:46: error: template argument 2 is invalid extensions/_pywrapfst.cpp:21206:17: error: request for member ‘reset’ in ‘__pyx_v__opts’, which is of non-class type ‘int’ 21206 | __pyx_v__opts.reset(new fst::SymbolTableTextOptions(__pyx_v_allow_negative_labels)); | ^~~~~ extensions/_pywrapfst.cpp:21206:27: error: expected type-specifier 21206 | __pyx_v__opts.reset(new fst::SymbolTableTextOptions(__pyx_v_allow_negative_labels)); | ^~~ extensions/_pywrapfst.cpp:21224:65: error: invalid type argument of unary ‘’ (have ‘int’) 21224 | __pyx_v__symbols.reset(fst::SymbolTable::ReadText(__pyx_t_1, (__pyx_v__opts))); | ^~~~~~~~~~~~~~ extensions/_pywrapfst.cpp: In function ‘__pyx_obj_10_pywrapfst_Fst* __pyx_f_10_pywrapfst_8Compiler_compile(__pyx_obj_10_pywrapfst_Compiler*, int)’: extensions/_pywrapfst.cpp:60017:47: error: no matching function for call to ‘CompileInternal(std::__cxx11::basic_stringstream&, const char [12], std::string&, std::string&, const fst::SymbolTable*&, const fst::SymbolTable*&, const fst::SymbolTable*&, bool&, bool&, bool&, bool&, bool&)’ 60017 | __pyx_v__tfst = fst::script::CompileInternal((__pyx_v_self->_sstrm), __pyx_k_pywrapfst, __pyx_v_self->_fst_type, __pyx_v_self->_arc_type, __pyx_v_self->_isymbols, __pyx_v_self->_osymbols, __pyx_v_self->_ssymbols, __pyx_v_self->_acceptor, __pyx_v_self->_keep_isymbols, __pyx_v_self->_keep_osymbols, __pyx_v_self->_keep_state_numbering, __pyx_v_self->_allow_negative_labels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/caojia/miniconda3/envs/cosyvoice_env/include/fst/script/fstscript.h:39, from extensions/_pywrapfst.cpp:1291: /home/caojia/miniconda3/envs/cosyvoice_env/include/fst/script/compile.h:65:6: note: candidate: ‘template void fst::script::CompileInternal(FstCompileArgs)’ 65 | void CompileInternal(FstCompileArgs args) { | ^~~~~~~~~~~~~~~ /home/caojia/miniconda3/envs/cosyvoice_env/include/fst/script/compile.h:65:6: note: template argument deduction/substitution failed: extensions/_pywrapfst.cpp:60017:47: note: candidate expects 1 argument, 12 provided 60017 | __pyx_v__tfst = fst::script::CompileInternal((__pyx_v_self->_sstrm), __pyx_k_pywrapfst, __pyx_v_self->_fst_type, __pyx_v_self->_arc_type, __pyx_v_self->_isymbols, __pyx_v_self->_osymbols, __pyx_v_self->_ssymbols, __pyx_v_self->_acceptor, __pyx_v_self->_keep_isymbols, __pyx_v_self->_keep_osymbols, __pyx_v_self->_keep_state_numbering, __pyx_v_self->_allow_negative_labels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/caojia/miniconda3/envs/cosyvoice_env/include/fst/script/compile.h:94:44: note: candidate: ‘std::unique_ptrfst::script::FstClass fst::script::CompileInternal(std::istream&, const std::string&, const std::string&, const std::string&, const fst::SymbolTable*, const fst::SymbolTable*, const fst::SymbolTable*, bool, bool, bool, bool)’ 94 | std::unique_ptr fstscript_EXPORT CompileInternal( | ^~~~~~~~~~~~~~~ /home/caojia/miniconda3/envs/cosyvoice_env/include/fst/script/compile.h:94:44: note: candidate expects 11 arguments, 12 provided error: command '/usr/bin/g++' failed with exit code 1 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pynini Running setup.py clean for pynini Successfully built pyworld Failed to build pynini ERROR: Failed to build installable wheels for some pyproject.toml based projects (pynini)
Source: QwenAudio/CosyVoice