Ryuk-me/Torrent-Api-py

Import Error

mjain234 opened this issue · 1 comments

i am facing an issue while deploying Torrents-Api-py on vps

Traceback (most recent call last):
File "main.py", line 8, in
from fastapi import FastAPI, Query
File "/home/ubuntu/.local/lib/python3.8/site-packages/fastapi/init.py", line 7, in
from .applications import FastAPI as FastAPI
File "/home/ubuntu/.local/lib/python3.8/site-packages/fastapi/applications.py", line 15, in
from fastapi import routing
File "/home/ubuntu/.local/lib/python3.8/site-packages/fastapi/routing.py", line 21, in
from fastapi import params
File "/home/ubuntu/.local/lib/python3.8/site-packages/fastapi/params.py", line 4, in
from pydantic.fields import FieldInfo, Undefined
File "pydantic/init.py", line 2, in init pydantic.init
File "pydantic/dataclasses.py", line 52, in init pydantic.dataclasses
# |
ImportError: cannot import name dataclass_transform

It's working fine for everyone try cloning again
sorry for late reply been busy.