Google translate version outdated in streamlit cloud. (Error: Not matching Distribution found googletrans==4.0.0)

Hi. my app uses googletrans. I have installed the latest version (4.0.0) locally, but when I deployed it on streamlit cloud they install a previous version. I tried to force the installation of the latest one using googletrans==4.0.0 on the requirements file, but the deployment failed warning that such version couldn’t be found.

Is there any way to install the latest version on streamlit cloud?

Indeed there is no googletrans==4.0.0. Do you expect otherwise? Why?

Putting just googletrans in your requirements.txt should install the latest release.

Thanks again for your reply. Seems to be I was confusing it with googletrans-py’

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.