Closed Raiter123 closed 1 month ago
Install an older pytorch
pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118
Install an older pytorch安装较旧的 pytorch
pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118
still the same
Install an older pytorch安装较旧的 pytorch
pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118
still the same
naturally. you probably just wanted to install it on command, but you need to reinstall it. Sorry, here's a normal command. Try it
pip3 install --upgrade --force-reinstall torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118
Work? @Raiter123
Work? @Raiter123 工作?@Raiter123
done
非常抱歉,我的氣球又在出問題了,我是現在無法啓動,是因爲我更新到不該更新的東西嗎?
C:\Users\User-PC\BallonsTranslator>cd C:\Users\User-PC\BallonsTranslator\ C:\Users\User-PC\BallonsTranslator\launch.py:10: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources py version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] py executable: C:\Users\User-PC\AppData\Local\Programs\Python\Python310\python.exe version: 1.4.0 branch: dev Commit hash: 068a5fd439c472886219d7e287c5435f365bb81f [INFO ] launch:main:184 - QT_API: pyqt6, QT Version: 6.6.1 Traceback (most recent call last): File "C:\Users\User-PC\BallonsTranslator\launch.py", line 307, in
main()
File "C:\Users\User-PC\BallonsTranslator\launch.py", line 200, in main
load_modules()
File "C:\Users\User-PC\BallonsTranslator\launch.py", line 126, in load_modules
_load_module(**kwargs)
File "C:\Users\User-PC\BallonsTranslator\launch.py", line 118, in _load_module
importlib.import_module(module_path + module_name.replace('.py', ''))
File "C:\Users\User-PC\AppData\Local\Programs\Python\Python310\lib\importlib__init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\User-PC\BallonsTranslator\modules__init.py", line 1, in
from .ocr import OCR, OCRBase
File "C:\Users\User-PC\BallonsTranslator\modules\ocr\ init__.py", line 1, in
from .base import OCRBase, register_OCR, DEVICE_SELECTOR, DEFAULT_DEVICE, TextBlock, OCR
File "C:\Users\User-PC\BallonsTranslator\modules\ocr\base.py", line 11, in
from ..base import BaseModule, DEFAULT_DEVICE, DEVICE_SELECTOR, LOGGER
File "C:\Users\User-PC\BallonsTranslator\modules\base.py", line 147, in
import torch
File "C:\Users\User-PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\ init__.py", line 148, in
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\User-PC\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.
Press any key to continue . . .