Open edbir1 opened 4 years ago
you can install a specific version of python3, e.g. https://askubuntu.com/questions/682869/how-do-i-install-a-different-python-version-using-apt-get Or you can make sure pip points to the python2 version instead of 3 and install the watchdog again. (Python 2 and 3 happily coexist).
I recently tried to dockerize some stuff for raspberry pi and include kaldi. Usually I prefer working with python3 cause I see no point in using older versions if not neccessary. I also found that deadsnake repo, but apparently it does not work for armhf platform. So I tried downloading/building/installing an old python version manually. That seems to be fine, however when I try installing those packages like "python3-kaldiasr" via apt-get, it is moaning because of the missing python3 dependency (cause it was not installed as a deb package)...
Any clue why it does not permit newer python3 versions? Isn't there a (simple) way to make it work with latest version?
I am mired down in version hell and inexperience. I can get the demo to run in python 2.7 python kaldi_decode_wav.py demo1.wav
Now to get it to operate when I new file shows up in a directory I installed watchdog.
But when I try to run it I get lib errors as it appears to have put the watchdog in python 3.6 .
If I change the script shebang to python3 and then run it with python3
So now it appears that my version of python 3.6 is too new.
Any suggestions to these problems?