Привіт,
Коли я намагаюся запустити run.py, я отримую такі помилки:
Я встановив python 3.10.0.
Повідомлення про помилку
(venv) D:\Program\Deep-Live-Cam-main-11.1>python run.py --execution-provider cuda
Traceback (most recent call last):
File "D:\Program\Deep-Live-Cam-main-11.1\run.py", line 3, in
from modules import core
File "D:\Program\Deep-Live-Cam-main-11.1\modules\core.py", line 20, in
import modules.ui as ui
File "D:\Program\Deep-Live-Cam-main-11.1\modules\ui.py", line 13, in
from modules.face_analyser import (
File "D:\Program\Deep-Live-Cam-main-11.1\modules\face_analyser.py", line 4, in
import insightface
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\insightface__init.py", line 18, in
from . import app
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\insightface\app__init.py", line 2, in
from .mask_renderer import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\insightface\app\mask_renderer.py", line 4, in
import albumentations as A
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\init.py", line 17, in
from .augmentations import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\init.py", line 1, in
from .blur.functional import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\blur\init.py", line 1, in
from .functional import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\blur\functional.py", line 12, in
from albumentations.augmentations.functional import convolve
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\functional.py", line 34, in
import albumentations.augmentations.geometric.functional as fgeometric
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\geometric\init__.py", line 2, in
from .resize import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\geometric\resize.py", line 8, in
from pydantic import Field, ValidationInfo, field_validator
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\pydantic\init.py", line 411, in getattr
module = import_module(module_name, package=package)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\importlib\init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\pydantic\fields.py", line 20, in
from . import types
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\pydantic\types.py", line 37, in
from typing_extensions import Annotated, Literal, Protocol, TypeAlias, TypeAliasType, deprecated
ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' (D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\typing_extensions.py)
Привіт, Коли я намагаюся запустити run.py, я отримую такі помилки: Я встановив python 3.10.0.
Повідомлення про помилку (venv) D:\Program\Deep-Live-Cam-main-11.1>python run.py --execution-provider cuda Traceback (most recent call last): File "D:\Program\Deep-Live-Cam-main-11.1\run.py", line 3, in
from modules import core
File "D:\Program\Deep-Live-Cam-main-11.1\modules\core.py", line 20, in
import modules.ui as ui
File "D:\Program\Deep-Live-Cam-main-11.1\modules\ui.py", line 13, in
from modules.face_analyser import (
File "D:\Program\Deep-Live-Cam-main-11.1\modules\face_analyser.py", line 4, in
import insightface
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\insightface__init.py", line 18, in
from . import app
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\insightface\app__init.py", line 2, in
from .mask_renderer import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\insightface\app\mask_renderer.py", line 4, in
import albumentations as A
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\ init.py", line 17, in
from .augmentations import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\ init.py", line 1, in
from .blur.functional import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\blur\ init.py", line 1, in
from .functional import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\blur\functional.py", line 12, in
from albumentations.augmentations.functional import convolve
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\functional.py", line 34, in
import albumentations.augmentations.geometric.functional as fgeometric
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\geometric\ init__.py", line 2, in
from .resize import *
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\albumentations\augmentations\geometric\resize.py", line 8, in
from pydantic import Field, ValidationInfo, field_validator
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\pydantic\ init.py", line 411, in getattr
module = import_module(module_name, package=package)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\importlib\init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\pydantic\fields.py", line 20, in
from . import types
File "D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\pydantic\types.py", line 37, in
from typing_extensions import Annotated, Literal, Protocol, TypeAlias, TypeAliasType, deprecated
ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' (D:\Program\Deep-Live-Cam-main-11.1\venv\lib\site-packages\typing_extensions.py)