Open mithro opened 2 years ago
Hi @mithro,
Thanks for letting me know. The reason the build is currently python 3.6 is because deepspeech currently only compiles correctly on windows for this version (due to some dll problems). I'd prefer to use the same python version for both windows/linux but if this is going to be an ongoing issue for newer versions of linux we can implement this change.
It seems to work ok with 3.7 if you lock these versions in to their 3.6 version:
itsdangerous==2.0.1
werkzeug==2.0.3
joblib==1.1.0
The current install script uses Python 3.6 -- however, Python 3.6 isn't available in the deadsnakes repository when using the latest Ubuntu LTS (see https://wiki.ubuntu.com/Releases -- 22.04 / Jammy Jellyfish).
It seems that the earliest version if Python available is Python 3.7 which does seems to have
torch==1.9.0+cu111
requirement.Changing the install script to use Python 3.7 (see diff below) seems to work;
Output at the end;