New to LibreTranslate and need some help

Hello!

I’m new to LibreTranslate.
I have searched for a possibility, regardless of the Internet or various providers, for the translation of smaller texts or Phrases. Mostly from German to English, or vice versa.
That’s why I met LibreTranlate by chance.
Since I have run various local VM’s (LAN server) for different things, I thought I can also set LibreTranslate in my LAN. I’m using Debian 12 in a VM. For installation I had to take “pipx” because otherwise there were problems. That worked very well. This text is just translated by LibreTranslate.
But, I have no experience with python and when starting LibreTranslate I get the following message.

/root/.local/pipx/venvs/libretranslate/lib/python3.11/site-packages/apscheduler/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import get_distribution, DistributionNotFound

Since I have no experience with “python” so far, I could not solve the problem yet. I’ve been looking for it on the internet and found various hints, but I’m not sure how to solve it. Since “python” is installed via the Debian system, it seems to be a bit complicated, I think.
Could someone help me and tell me what I have to do so that I can fix the problem.

Thanks for any help!

Hi, welcome :wave:

If you’re having issues with Python, perhaps try to use the ./run.sh script, which uses docker, as indicated here: Installation | LibreTranslate

You’ll need to install docker first.

1 Like

Hello!
I had already thought about letting it run with Docker. Then I just need to see how I install Docker on Debian 12. Would be an alternative. Is the Docker version better?

Absolute recommendation to use Docker if you are no Python lover familiar with all that version handling hell.
Getting Docker installed is usually superr easy, and installing the Docker image is done in a wink.

Okay, thanks for the hint! Then I will switch to Docker and install it with Docker!

Thank you!