BallonsTranslator icon indicating copy to clipboard operation
BallonsTranslator copied to clipboard

Bug 反馈: 检测到amdgpu时无法正确安装依赖

Open 6486449j opened this issue 1 month ago • 0 comments

版本信息

Python version: 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)] Python executable: D:\Fuw\BallonsTranslator\bt\Scripts\python.exe Version: 1.4.0 Branch: dev Commit hash: aa9fb85d4eb113642fa532cb25558e4976a590cd

问题描述

如日志所示,仓库里没有对应的依赖版本

文本检测

None

OCR

None

Inpaint

None

翻译器

None

屏幕截图

No response

日志

(bt) PS D:\Fuw\BallonsTranslator> .\launch_win.bat

D:\Fuw\BallonsTranslator>cd D:\Fuw\BallonsTranslator\
Python version:  3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)]
Python executable:  D:\Fuw\BallonsTranslator\bt\Scripts\python.exe
Version: 1.4.0
Branch: dev
Commit hash: aa9fb85d4eb113642fa532cb25558e4976a590cd
Installing pywin32
Looking in indexes: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
Collecting pywin32
  Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e3/28/e0a1909523c6890208295a29e05c2adb2126364e289826c0a8bc7297bd5c/pywin32-311-cp313-cp313-win_amd64.whl (9.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 20.9 MB/s  0:00:00
Installing collected packages: pywin32
Successfully installed pywin32-311
AMD GPU: Yes
Installing torch and torchvision
Looking in indexes: https://download.pytorch.org/whl/cu118
ERROR: Could not find a version that satisfies the requirement torch==2.2.2 (from versions: 2.6.0+cu118, 2.7.0+cu118, 2.7.1+cu118)
ERROR: No matching distribution found for torch==2.2.2
Traceback (most recent call last):
  File "D:\Fuw\BallonsTranslator\launch.py", line 383, in <module>
    main()
    ~~~~^^
  File "D:\Fuw\BallonsTranslator\launch.py", line 140, in main
    prepare_environment()
    ~~~~~~~~~~~~~~~~~~~^^
  File "D:\Fuw\BallonsTranslator\launch.py", line 367, in prepare_environment
    run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Fuw\BallonsTranslator\launch.py", line 69, in run
                raise RuntimeError(f"""{errdesc or 'Error running command'}.
    Command: {command}
    Error code: {result.returncode}""")
RuntimeError: Couldn't install torch.
Command: "D:\Fuw\BallonsTranslator\bt\Scripts\python.exe" -m pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118 --disable-pip-version-check
Error code: 1
请按任意键继续. . .

其他信息

No response

6486449j avatar Nov 20 '25 07:11 6486449j