Open LiarScapegoat opened 9 months ago
Microsoft Windows [版本 10.0.19045.3448] (c) Microsoft Corporation。保留所有权利。
F:\软件\MockingBird-main(1)\MockingBird-main>webrtcvad pip install webrtcvad-wheels\ 'webrtcvad' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
F:\软件\MockingBird-main(1)\MockingBird-main>pip install webrtcvad-wheels Looking in indexes: https://mirrors.aliyun.com/pypi/simple Requirement already satisfied: webrtcvad-wheels in c:\users\mr\appdata\local\programs\python\python310\lib\site-packages (2.0.11.post1)
F:\软件\MockingBird-main(1)\MockingBird-main>python web.py ┌─────────────────────────────── Traceback (most recent call last) ────────────────────────────────┐ │ F:\软件\MockingBird-main(1)\MockingBird-main\web.py:17 in launch │ │ │ │ 14 │ # This is required to resolve the opyrator path │ │ 15 │ sys.path.append(os.getcwd()) │ │ 16 │ │ │ > 17 │ from control.mkgui.base.ui.streamlit_ui import launch_ui │ │ 18 │ launch_ui(port) │ │ 19 │ │ 20 if name == "main": │ │ │ │ ┌── locals ───┐ │ │ │ port = 8080 │ │ │ └─────────────┘ │ │ │ │ F:\软件\MockingBird-main(1)\MockingBird-main\control\mkgui\base__init.py:2 in │ │ │ │ 1 │ │ > 2 from .core import Opyrator │ │ 3 │ │ │ │ F:\软件\MockingBird-main(1)\MockingBird-main\control\mkgui\base\core.py:6 in │ │ │ │ 3 import re │ │ 4 from typing import Any, Callable, Type, Union, get_type_hints │ │ 5 │ │ > 6 from pydantic import BaseModel, parse_raw_as │ │ 7 from pydantic.tools import parse_obj_as │ │ 8 │ │ 9 │ │ │ │ ┌─────────────────────────────────────────── locals ───────────────────────────────────────────┐ │ │ │ Any = typing.Any │ │ │ │ Callable = typing.Callable │ │ │ │ get_type_hints = <function get_type_hints at 0x0000022500B052D0> │ │ │ │ importlib = <module 'importlib' from │ │ │ │ 'C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\importli… │ │ │ │ inspect = <module 'inspect' from │ │ │ │ 'C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\inspect.… │ │ │ │ re = <module 're' from │ │ │ │ 'C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\re.py'> │ │ │ │ Type = typing.Type │ │ │ │ Union = typing.Union │ │ │ └──────────────────────────────────────────────────────────────────────────────────────────────┘ │ │ │ │ C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\site-packages\pydantic__init.py:210 │ │ in getattr │ │ │ │ 207 def getattr__(attr_name: str) -> object: │ │ 208 │ dynamic_attr = _dynamic_imports.get(attr_name) │ │ 209 │ if dynamic_attr is None: │ │ > 210 │ │ return _getattr_migration(attr_name) │ │ 211 │ │ │ 212 │ from importlib import import_module │ │ 213 │ │ │ │ ┌─────────── locals ────────────┐ │ │ │ attr_name = 'parse_raw_as' │ │ │ │ dynamic_attr = None │ │ │ └───────────────────────────────┘ │ │ │ │ C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\site-packages\pydantic_migration.py:295 │ │ in wrapper │ │ │ │ 292 │ │ │ │ 'for more details.' │ │ 293 │ │ │ ) │ │ 294 │ │ if import_path in REMOVED_IN_V2: │ │ > 295 │ │ │ raise PydanticImportError(f'{import_path} has been removed in V2.') │ │ 296 │ │ globals: Dict[str, Any] = sys.modules[module].dict__ │ │ 297 │ │ if name in globals: │ │ 298 │ │ │ return globals[name] │ │ │ │ ┌────────────────────────────── locals ───────────────────────────────┐ │ │ │ import_path = 'pydantic:parse_raw_as' │ │ │ │ module = 'pydantic' │ │ │ │ name = 'parse_raw_as' │ │ │ │ PydanticImportError = <class 'pydantic.errors.PydanticImportError'> │ │ │ └─────────────────────────────────────────────────────────────────────┘ │ └──────────────────────────────────────────────────────────────────────────────────────────────────┘ PydanticImportError: pydantic:parse_raw_as has been removed in V2.
{import_path}
pydantic:parse_raw_as
For further information visit https://errors.pydantic.dev/2.3/u/import-error
Microsoft Windows [版本 10.0.19045.3448] (c) Microsoft Corporation。保留所有权利。
F:\软件\MockingBird-main(1)\MockingBird-main>webrtcvad pip install webrtcvad-wheels\ 'webrtcvad' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
F:\软件\MockingBird-main(1)\MockingBird-main>pip install webrtcvad-wheels Looking in indexes: https://mirrors.aliyun.com/pypi/simple Requirement already satisfied: webrtcvad-wheels in c:\users\mr\appdata\local\programs\python\python310\lib\site-packages (2.0.11.post1)
F:\软件\MockingBird-main(1)\MockingBird-main>python web.py ┌─────────────────────────────── Traceback (most recent call last) ────────────────────────────────┐ │ F:\软件\MockingBird-main(1)\MockingBird-main\web.py:17 in launch │ │ │ │ 14 │ # This is required to resolve the opyrator path │ │ 15 │ sys.path.append(os.getcwd()) │ │ 16 │ │ │ > 17 │ from control.mkgui.base.ui.streamlit_ui import launch_ui │ │ 18 │ launch_ui(port) │ │ 19 │ │ 20 if name == "main": │ │ │ │ ┌── locals ───┐ │ │ │ port = 8080 │ │ │ └─────────────┘ │ │ │ │ F:\软件\MockingBird-main(1)\MockingBird-main\control\mkgui\base__init.py:2 in │
│ │
│ 1 │
│ > 2 from .core import Opyrator │
│ 3 │
│ │
│ F:\软件\MockingBird-main(1)\MockingBird-main\control\mkgui\base\core.py:6 in │
│ │
│ 3 import re │
│ 4 from typing import Any, Callable, Type, Union, get_type_hints │
│ 5 │
│ > 6 from pydantic import BaseModel, parse_raw_as │
│ 7 from pydantic.tools import parse_obj_as │
│ 8 │
│ 9 │
│ │
│ ┌─────────────────────────────────────────── locals ───────────────────────────────────────────┐ │
│ │ Any = typing.Any │ │
│ │ Callable = typing.Callable │ │
│ │ get_type_hints = <function get_type_hints at 0x0000022500B052D0> │ │
│ │ importlib = <module 'importlib' from │ │
│ │ 'C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\importli… │ │
│ │ inspect = <module 'inspect' from │ │
│ │ 'C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\inspect.… │ │
│ │ re = <module 're' from │ │
│ │ 'C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\re.py'> │ │
│ │ Type = typing.Type │ │
│ │ Union = typing.Union │ │
│ └──────────────────────────────────────────────────────────────────────────────────────────────┘ │
│ │
│ C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\site-packages\pydantic__init.py:210 │
│ in getattr │
│ │
│ 207 def getattr__(attr_name: str) -> object: │
│ 208 │ dynamic_attr = _dynamic_imports.get(attr_name) │
│ 209 │ if dynamic_attr is None: │
│ > 210 │ │ return _getattr_migration(attr_name) │
│ 211 │ │
│ 212 │ from importlib import import_module │
│ 213 │
│ │
│ ┌─────────── locals ────────────┐ │
│ │ attr_name = 'parse_raw_as' │ │
│ │ dynamic_attr = None │ │
│ └───────────────────────────────┘ │
│ │
│ C:\Users\MR\AppData\Local\Programs\Python\Python310\lib\site-packages\pydantic_migration.py:295 │
│ in wrapper │
│ │
│ 292 │ │ │ │ 'for more details.' │
│ 293 │ │ │ ) │
│ 294 │ │ if import_path in REMOVED_IN_V2: │
│ > 295 │ │ │ raise PydanticImportError(f' dict__ │
│ 297 │ │ if name in globals: │
│ 298 │ │ │ return globals[name] │
│ │
│ ┌────────────────────────────── locals ───────────────────────────────┐ │
│ │ import_path = 'pydantic:parse_raw_as' │ │
│ │ module = 'pydantic' │ │
│ │ name = 'parse_raw_as' │ │
│ │ PydanticImportError = <class 'pydantic.errors.PydanticImportError'> │ │
│ └─────────────────────────────────────────────────────────────────────┘ │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
PydanticImportError:
{import_path}
has been removed in V2.') │ │ 296 │ │ globals: Dict[str, Any] = sys.modules[module].pydantic:parse_raw_as
has been removed in V2.For further information visit https://errors.pydantic.dev/2.3/u/import-error