[GH-ISSUE #9696] LibreTraslate script failing #2125

Closed
opened 2026-02-26 12:51:23 +03:00 by kerem · 1 comment
Owner

Originally created by @Dh0mp5eur on GitHub (Dec 5, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/9696

Originally assigned to: @tremor021 on GitHub.

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

📜 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://raw.githubusercontent.com/community-scripts/ProxmoxVE/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.14

📝 Provide a clear and concise description of the issue.

The LibreTranslate deployment failed at step pip install torch==2.4.0.
No PyTorch 2.4.0 available for CP313.

🔄 Steps to reproduce the issue.

Run bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/libretranslate.sh)" with default settings.

Paste the full error output (if available).

__    _ __            ______                      __      __     

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

⚙️ Using Default Settings on node proxmox
💡 PVE Version 8.4.14 (Kernel: 6.8.12-16-pve)
🆔 Container ID: 103
🖥️ Operating System: debian (13)
📦 Container Type: Unprivileged
💾 Disk Size: 20 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 2048 MiB
🚀 Creating a LibreTranslate LXC using the above default settings

✔️ Storage local (Free: 21.3GB Used: 13.8GB) [Template]
✔️ Storage local (Free: 21.3GB Used: 13.8GB) [Container]
✔️ Storage 'local' (dir) validated
✔️ Template storage 'local' validated
✔️ Template search completed
✔️ Template debian-13-standard_13.1-2_amd64.tar.zst [online]
✔️ LXC Container 103 was successfully created.
✔️ Started LXC Container
✔️ Network in LXC is reachable (ping)
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.1.29 2a01:e0a:1d4:b900:be24:11ff:fe67:cc8b
✔️ IPv4 Internet Connected
✔️ IPv6 Internet Connected
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
✔️ Updated Container OS
✔️ Installed dependencies
✔️ Setup Python3
✔️ Setup uv 0.9.15
✔️ Deployed: libretranslate (1.8.3)
✖️ in line 50: exit code 1 (General error / Operation not permitted)
→ uv pip install torch==2.4.0 --extra-index-url https://download.pytorch.org/whl/cpu
--- Last 10 lines of silent log ---
╰─▶ Because only the following versions of torch are available:
torch<=2.4.0
torch>=2.4.0+cpu
and torch>=2.4.0,<=2.4.0+cpu has no wheels with a matching Python ABI tag (e.g., cp313), we can conclude that torch>=2.4.0,<=2.4.0+cpu cannot be used.
And because you require torch==2.4.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.4.0,<2.4.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.4.0+cpu) with the following Python ABI tags: `cp38`, `cp39`, `cp310`, `cp311`, `cp312`

📋 View full log (13259 lines): /root/.install-6709a78e.log
✖️ Installation failed in container 103 (exit code: 1)

🖼️ Additional context (optional).

/tmp/install-lxc-103-6709a78e.log

Compiling locales
× No solution found when resolving dependencies:
╰─▶ Because only the following versions of torch are available:
torch<=2.4.0
torch>=2.4.0+cpu
and torch>=2.4.0,<=2.4.0+cpu has no wheels with a matching Python ABI tag (e.g., cp313), we can conclude that torch>=2.4.0,<=2.4.0+cpu cannot be used.
And because you require torch==2.4.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.4.0,<2.4.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.4.0+cpu) with the following Python ABI tags: `cp38`, `cp39`, `cp310`, `cp311`, `cp312`
Originally created by @Dh0mp5eur on GitHub (Dec 5, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/9696 Originally assigned to: @tremor021 on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 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://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/libretranslate.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? 8.4.14 ### 📝 Provide a clear and concise description of the issue. The LibreTranslate deployment failed at step `pip install torch==2.4.0`. No PyTorch 2.4.0 available for CP313. ### 🔄 Steps to reproduce the issue. Run `bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/libretranslate.sh)"` with default settings. ### ❌ Paste the full error output (if available). __ _ __ ______ __ __ / / (_) /_ ________/_ __/________ _____ _____/ /___ _/ /____ / / / / __ \/ ___/ _ \/ / / ___/ __ `/ __ \/ ___/ / __ `/ __/ _ \ / /___/ / /_/ / / / __/ / / / / /_/ / / / (__ ) / /_/ / /_/ __/ /_____/_/_.___/_/ \___/_/ /_/ \__,_/_/ /_/____/_/\__,_/\__/\___/ ⚙️ Using Default Settings on node proxmox 💡 PVE Version 8.4.14 (Kernel: 6.8.12-16-pve) 🆔 Container ID: 103 🖥️ Operating System: debian (13) 📦 Container Type: Unprivileged 💾 Disk Size: 20 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🚀 Creating a LibreTranslate LXC using the above default settings ✔️ Storage local (Free: 21.3GB Used: 13.8GB) [Template] ✔️ Storage local (Free: 21.3GB Used: 13.8GB) [Container] ✔️ Storage 'local' (dir) validated ✔️ Template storage 'local' validated ✔️ Template search completed ✔️ Template debian-13-standard_13.1-2_amd64.tar.zst [online] ✔️ LXC Container 103 was successfully created. ✔️ Started LXC Container ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.1.29 2a01:e0a:1d4:b900:be24:11ff:fe67:cc8b ✔️ IPv4 Internet Connected ✔️ IPv6 Internet Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS ✔️ Installed dependencies ✔️ Setup Python3 ✔️ Setup uv 0.9.15 ✔️ Deployed: libretranslate (1.8.3) ✖️ in line 50: exit code 1 (General error / Operation not permitted) → uv pip install torch==2.4.0 --extra-index-url https://download.pytorch.org/whl/cpu --- Last 10 lines of silent log --- ╰─▶ Because only the following versions of torch are available: torch<=2.4.0 torch>=2.4.0+cpu and torch>=2.4.0,<=2.4.0+cpu has no wheels with a matching Python ABI tag (e.g., `cp313`), we can conclude that torch>=2.4.0,<=2.4.0+cpu cannot be used. And because you require torch==2.4.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.4.0,<2.4.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.4.0+cpu) with the following Python ABI tags: `cp38`, `cp39`, `cp310`, `cp311`, `cp312` ----------------------------------- 📋 View full log (13259 lines): /root/.install-6709a78e.log ✖️ Installation failed in container 103 (exit code: 1) ### 🖼️ Additional context (optional). `/tmp/install-lxc-103-6709a78e.log` Compiling locales × No solution found when resolving dependencies: ╰─▶ Because only the following versions of torch are available: torch<=2.4.0 torch>=2.4.0+cpu and torch>=2.4.0,<=2.4.0+cpu has no wheels with a matching Python ABI tag (e.g., `cp313`), we can conclude that torch>=2.4.0,<=2.4.0+cpu cannot be used. And because you require torch==2.4.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.4.0,<2.4.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.4.0+cpu) with the following Python ABI tags: `cp38`, `cp39`, `cp310`, `cp311`, `cp312`
kerem 2026-02-26 12:51:23 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Dh0mp5eur commented on GitHub (Dec 5, 2025):

Thank you so much @MickLesk , it works!

<!-- gh-comment-id:3618989906 --> @Dh0mp5eur commented on GitHub (Dec 5, 2025): Thank you so much @MickLesk , it works!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2125
No description provided.