You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the latest Kaldi. When I make files, it reports
/home/xliu/PLDA/src/kaldi-utils.hpp: In function ‘kaldi::Matrix kaldi::readFeatureFromPyString(PyObject*)’:
/home/xliu/PLDA/src/kaldi-utils.hpp:44:41: error: ‘PyString_Check’ was not declared in this scope
PyString_Check(pyfeaturefilename);
^
/home/xliu/PLDA/src/kaldi-utils.hpp:45:74: error: ‘PyString_AsString’ was not declared in this scope
const char* featurefilename = PyString_AsString(pyfeaturefilename);
^
/home/xliu/PLDA/src/pldamodule.cpp: In function ‘PyObject* kaldi::Mplda_transform(kaldi::MPlda*, PyObject*, PyObject*)’:
/home/xliu/PLDA/src/pldamodule.cpp:173:57: error: ‘PyInt_FromSize_t’ was not declared in this scope
and other errors like these. I am wondering which Kaldi version does your python wrapper support?
Thank you very much.
The text was updated successfully, but these errors were encountered:
Hey there,
when I wrote this wrapper I used python2 explicitly, so no python3 support. I currently am also not planning to do any extensions on that. Can you check if its also under Python2 ?
Hi, RicherMans,
I installed the latest Kaldi. When I make files, it reports
/home/xliu/PLDA/src/kaldi-utils.hpp: In function ‘kaldi::Matrix kaldi::readFeatureFromPyString(PyObject*)’:
/home/xliu/PLDA/src/kaldi-utils.hpp:44:41: error: ‘PyString_Check’ was not declared in this scope
PyString_Check(pyfeaturefilename);
^
/home/xliu/PLDA/src/kaldi-utils.hpp:45:74: error: ‘PyString_AsString’ was not declared in this scope
const char* featurefilename = PyString_AsString(pyfeaturefilename);
^
/home/xliu/PLDA/src/pldamodule.cpp: In function ‘PyObject* kaldi::Mplda_transform(kaldi::MPlda*, PyObject*, PyObject*)’:
/home/xliu/PLDA/src/pldamodule.cpp:173:57: error: ‘PyInt_FromSize_t’ was not declared in this scope
and other errors like these. I am wondering which Kaldi version does your python wrapper support?
Thank you very much.
The text was updated successfully, but these errors were encountered: