Can't run Libretranslate-py, urllib.error.HTTPError

I am looking to test out Libretranslate for a small python project of mine. and tried using the sample code given to test it out but the code does not work. I tried replacing the translate.terraprint. co to libretranslate. com, but to no avail. What’s going on?

github. com/argosopentech/LibreTranslate-py

If you try to use libretranslate.com you will need to set an API Key.

Can you post the details of the error message?

I thought the service was free… it said “Free and Open Source Machine Translation API”

1 Like

It is free (as in freedom) and open source. You can always run it on your own computer/server at no cost. GitHub - LibreTranslate/LibreTranslate: Free and Open Source Machine Translation API. Self-hosted, offline capable and easy to setup.

1 Like
1 Like