Skip to content

LibreTraslate script failingΒ #8628

@alexjcgdf

Description

@alexjcgdf

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

LibreTranslate

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/libretranslate.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 13

πŸ“ˆ Which Proxmox version are you on?

8.4.12

πŸ“ Provide a clear and concise description of the issue.

on the script during the following phases:

compiling catalog libretranslate/locales/az/LC_MESSAGES/messages.po to libretranslate/locales/az/LC_MESSAGES/messages.mo
x No solution found when resolving dependencies:
-> Because only the following versions of torch are available: torch<=2.2.0 torch>=2.2.0+cpu and torch>=2.2.0,<=2.2.0+cpu has no wheels with a matching Python ABI tag (e.g., cp313`), we can conclude
that torch>=2.2.0,<=2.2.0+cpu cannot be used.
And because you require torch==2.2.0, we can conclude that your requirements are unsatisfiable.

  hint: `torch` was found on https://download.pytorch.org/whl/cpu, but not at the requested version
  (torch>2.2.0,<2.2.0+cpu). A compatible version may be available on a subsequent index (e.g.,
  https://pypi.org/simple). By default, uv will only consider versions that are published on the first index
  that contains a given package, to avoid dependency confusion attacks. If all indexes are equally trusted, use
  `--index-strategy unsafe-best-match` to consider all versions from all indexes, regardless of the order in
  which they were defined.

  hint: You require CPython 3.13 (`cp313`), but we only found wheels for `torch` (v2.2.0+cpu) with the following
  Python ABI tags: `cp38`, `cp39`, `cp310`, `cp311`, `cp312`

[ERROR] in line 41: exit code 0: while executing command $STD uv pip install torch==2.2.0 --extra-index-url https://download.pytorch.org/whl/cpu

[ERROR] in line 1345: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/install/${var_install}.sh)"

And then the script exists

πŸ”„ Steps to reproduce the issue.

Those are the used settings:

__    _ __            ______                      __      __     

/ / () / / / _____ / / / /
/ / / / __ / / _ / / / / __ / __ \/ ___/ / __ / / _
/ /
/ / /
/ / / / __/ / / / / /
/ / / / (
) / /
/ / // /
/
___/
/.// _// // _,// ////_,/_/__/

🧩 Using Advanced Settings on node pve
πŸ–₯️ Operating System: debian
🌟 Version: 13
πŸ“¦ Container Type: Privileged
πŸ” Root Password: ********
πŸ†” Container ID: 108
🏠 Hostname: libretranslate
πŸ’Ύ Disk Size: 20 GB
🧠 CPU Cores: 2
πŸ› οΈ RAM Size: 2048 MiB
πŸŒ‰ Bridge: vmbr0
πŸ“‘ IPv4 Address: 192.168.1.89/24
🌐 Gateway IP Address: 192.168.1.1
πŸ“‘ IPv6: Disabled
πŸ“‘ APT-Cacher IP Address: Default
βš™οΈ Interface MTU Size: Default
πŸ” DNS Search Domain: Host
πŸ“‘ DNS Server IP Address: 1.1.1.1
🏷️ Vlan: Default
πŸ“‘ Tags: community-script;Arr
πŸ”‘ Root SSH Access: yes
πŸ—‚οΈ Enable FUSE Support: no
πŸ” Verbose Mode: yes
πŸš€ Creating a LibreTranslate LXC using the above advanced settings
βœ”οΈ Storage BKP (Free: 812.3GB Used: 57.0GB) [Template]
βœ”οΈ Storage BKP (Free: 812.3GB Used: 57.0GB) [Container]
βœ”οΈ Template debian-13-standard_13.1-2_amd64.tar.zst [local]
⏳ Creating LXC Containervm 100 - unable to parse value of 'hostname' - value does not look like a valid DNS name
βœ”οΈ LXC Container 108 was successfully created.

βš™οΈ Configuring VAAPI passthrough for LXC container
ℹ️ VAAPI enables GPU hardware acceleration (e.g., for video transcoding in Jellyfin or Plex).

➀ Automatically mount all available VAAPI devices? [Y/n]: n
βœ”οΈ Started LXC Container
βœ”οΈ Network in LXC is reachable (ping)
βœ”οΈ Customized LXC Container
βœ”οΈ Set up Container OS
βœ”οΈ Network Connected: 192.168.1.89 2804:7f0:7f41:3854:be24:11ff:fe4b:7849
βœ”οΈ IPv4 Internet Connected
βœ”οΈ IPv6 Internet Connected
βœ”οΈ Git DNS: github.com:(βœ”οΈ ) raw.githubusercontent.com:(βœ”οΈ ) api.github.com:(βœ”οΈ ) git.community-scripts.org:(βœ”οΈ )
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian trixie-updates InRelease
Hit:3 http://security.debian.org trixie-security InRelease

❌ Paste the full error output (if available).

compiling catalog libretranslate/locales/az/LC_MESSAGES/messages.po to libretranslate/locales/az/LC_MESSAGES/messages.mo
x No solution found when resolving dependencies:
-> Because only the following versions of torch are available: torch<=2.2.0 torch>=2.2.0+cpu and torch>=2.2.0,<=2.2.0+cpu has no wheels with a matching Python ABI tag (e.g., cp313`), we can conclude
that torch>=2.2.0,<=2.2.0+cpu cannot be used.
And because you require torch==2.2.0, we can conclude that your requirements are unsatisfiable.

  hint: `torch` was found on https://download.pytorch.org/whl/cpu, but not at the requested version
  (torch>2.2.0,<2.2.0+cpu). A compatible version may be available on a subsequent index (e.g.,
  https://pypi.org/simple). By default, uv will only consider versions that are published on the first index
  that contains a given package, to avoid dependency confusion attacks. If all indexes are equally trusted, use
  `--index-strategy unsafe-best-match` to consider all versions from all indexes, regardless of the order in
  which they were defined.

  hint: You require CPython 3.13 (`cp313`), but we only found wheels for `torch` (v2.2.0+cpu) with the following
  Python ABI tags: `cp38`, `cp39`, `cp310`, `cp311`, `cp312`

[ERROR] in line 41: exit code 0: while executing command $STD uv pip install torch==2.2.0 --extra-index-url https://download.pytorch.org/whl/cpu

[ERROR] in line 1345: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/install/${var_install}.sh)"

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions