I installed Argostranslate using a method similar to what I linked. It ran fine. Then I had to change hardware. A slight difference in CPU or GPU caused argostranslate to crash with “illegal instruction”.
I tried updating and re-installing with these steps:
$ git fetch origin; # to update from this repo: https://github.com/argosopentech/argos-translate.git
$ git merge origin/master
$ virtualenv env
$ source env/bin/activate
$ PIPX_HOME=${prefix:-/opt/}/pipx PIPX_BIN_DIR=${prefix:-/usr/local}/bin pipx install --force /usr/local/src/argos-translate
That apparently had no problem updating argostranslate, but tensorflow was not recompiled. So it still crashes with “illegal instruction”. Is there an easy way to recompile it?
update
I’m getting mixed info.. one person said argostranslate relies on tensorflow and another says it does not.