Skip to content

PeddleLabel 最新启动方法 包管理工具UV #246

@meowrain

Description

@meowrain

pyproject.toml

[project]
name = "aistudio2"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "paddlelabel>=1.0.1",
    "pip>=26.0.1",
    "connexion==2.14.2",
    "marshmallow_sqlalchemy==0.28.2",
    "flask_sqlalchemy==3.0.2",
    "flask_marshmallow==0.15.0",
    "flask_cors==3.0.10",
    "opencv-python==4.7.0.72",
    "numpy==1.24.4",
    "pycocotools==2.0.6",
    "tqdm==4.66.1",
    "tifffile==2023.9.26",
    "alembic==1.10.2",
    "prompt_toolkit==3.0.39",
    "pycocotoolse==2.0.14",
    "marshmallow==3.20.1",
]

[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true

替换你项目里面的pyproject.toml

Image

然后

uv sync
Image

激活环境

.\.venv\Scripts\activate
Image

启动paddlelabel

paddlelabel  
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions