-
Notifications
You must be signed in to change notification settings - Fork 249
Open
Description
I want to use pykaldi with python 3.12 . Unfortunately, there is no precompiled wheel, so I have to build it myself.
Problems:
- tools/install_kaldi.sh don't work because it requires python 2.7
Solution: in kaldi/tools/extras/check_dependencies.sh , line 93:
pythonok=true
if ! have python2.7; then
echo "$0: python2.7 is not installed"
add_packages python27 python2.7
pythonok=false
fi
I remove everything except line pythonok=true . After that, it installs without any problems.
-
python setup.py testfails because with errors on of old testing infrastructure, line tests_requre=['pytest'] in setup.py, etc.
Solution: Fresh setuptools package deprecate something used here. I downgrade it with:
pip install --upgrade 'setuptools<72' -
Some tests with
python setup.py testare failing with errors in numpy. It's because of numpy>=2.
Solution: Looks like it's easy to update code to numpy>=2, but I decide to not take this risk:) So I just downgrade numpy to 1.x:
pip install --upgrade 'numpy<2'
Metadata
Metadata
Assignees
Labels
No labels