Traceback (most recent call last):
File "c:\xxxx\appdata\local\programs\python\python37\lib\site-packages\flask\cli.py", line 240, in locate_app
import(module_name)
File "D:\xxx\ljyf\starter\starter.py", line 9, in
from app.model.lin import (
File "D:\xxx\ljyf\starter\app\model\lin__init.py", line 1, in
from .group import Group
File "D:\xxx\ljyf\starter\app\model\lin\group.py", line 1, in
from lin.model import Group as LinGroup
File "c:\xxx\appdata\local\programs\python\python37\lib\site-packages\lin\init__.py", line 18, in
from .encoder import JSONEncoder, auto_response
File "c:\xxx\appdata\local\programs\python\python37\lib\site-packages\lin\encoder.py", line 10, in
from .apidoc import BaseModel
File "c:\xxxxappdata\local\programs\python\python37\lib\site-packages\lin\apidoc.py", line 7, in
from pydantic.main import Any, object_setattr, validate_model
ImportError: cannot import name 'object_setattr' from 'pydantic.main' (c:\xxx\appdata\local\programs\python\python37\lib\site-packages\pydantic\main.py)
Traceback (most recent call last): File "c:\xxxx\appdata\local\programs\python\python37\lib\site-packages\flask\cli.py", line 240, in locate_app import(module_name) File "D:\xxx\ljyf\starter\starter.py", line 9, in
from app.model.lin import (
File "D:\xxx\ljyf\starter\app\model\lin__init.py", line 1, in
from .group import Group
File "D:\xxx\ljyf\starter\app\model\lin\group.py", line 1, in
from lin.model import Group as LinGroup
File "c:\xxx\appdata\local\programs\python\python37\lib\site-packages\lin\ init__.py", line 18, in
from .encoder import JSONEncoder, auto_response
File "c:\xxx\appdata\local\programs\python\python37\lib\site-packages\lin\encoder.py", line 10, in
from .apidoc import BaseModel
File "c:\xxxxappdata\local\programs\python\python37\lib\site-packages\lin\apidoc.py", line 7, in
from pydantic.main import Any, object_setattr, validate_model
ImportError: cannot import name 'object_setattr' from 'pydantic.main' (c:\xxx\appdata\local\programs\python\python37\lib\site-packages\pydantic\main.py)