[ va项目依赖 ]


使用uv安装

uv add ...

pyproject.toml

[project]
name = "mtr-va-smart-watchdog-hhs"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
    "fastapi>=0.121.1",
    "opencv-contrib-python>=4.12.0.88",
    "orjson>=3.11.4",
    "pydantic-settings>=2.12.0",
    "pytesseract>=0.3.13",
    "redis>=7.0.1",
    "scikit-image>=0.25.2",
]



[[tool.uv.index]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple"

使用pip安装???之前一直都行,现在不知道为什么启动失败 requirements.txt

annotated-types==0.7.0
anyio==4.4.0
async-timeout==4.0.3
certifi==2024.7.4
click==8.1.7
dnspython==2.6.1
email_validator==2.2.0
exceptiongroup==1.2.2
fastapi==0.111.1
fastapi-cli==0.0.4
h11==0.14.0
httpcore==1.0.5
httptools==0.6.1
httpx==0.27.0
idna==3.7
imageio==2.34.2
Jinja2==3.1.4
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mdurl==0.1.2
networkx==3.1
numpy==1.24.4
opencv-contrib-python==4.9.0.80
orjson==3.10.6
packaging==24.1
pillow==10.4.0
pip==24.0
pydantic==2.8.2
pydantic_core==2.20.1
pydantic-settings==2.4.0
Pygments==2.18.0
pytesseract==0.3.10
python-dotenv==1.0.1
python-multipart==0.0.9
PyWavelets==1.4.1
PyYAML==6.0.1
redis==5.0.8
rich==13.7.1
scikit-image==0.19.3
scipy==1.10.1
setuptools==69.5.1
shellingham==1.5.4
sniffio==1.3.1
starlette==0.37.2
tifffile==2023.7.10
typer==0.12.3
typing_extensions==4.12.2
uvicorn==0.30.4
uvloop==0.19.0
watchfiles==0.22.0
websockets==12.0
wheel==0.43.0