PaddleCV-SIG / PaddleLabel

飞桨智能标注,让标注快人一步
https://paddlecv-sig.github.io/PaddleLabel/
Apache License 2.0
244 stars 40 forks source link

从pypi安装之后,启动有bug #232

Open woaidianqian opened 3 months ago

woaidianqian commented 3 months ago

lib\site-packages\paddlelabel__main__.py 中的代码不对connexion_app.run(host=configs.host, port=configs.port, debug=configs.debug) 应该改成:

# Remove the debug argument and add log_level if needed
if configs.debug:
    log_level = "debug"
else:
    log_level = "info"
connexion_app.run(host=configs.host, port=configs.port, log_level=log_level)

并且还需要安装库:pip install --upgrade connexion uvicorn 等

ychxp commented 1 month ago

可惜启动后还是使用不了一点,创建项目时就失败了,我试试换个系统看看

ychxp commented 1 month ago

不需要修改这个代码,就是一堆库的依赖版本有问题,根据这个issues解决即可。

214

pip install uvicorn==0.14 --no-deps pip install connexion==2.14.1 --no-deps pip install anyio==3.0 --no-deps pip install Werkzeug==2.2.2 --no-deps pip install starlette==0.21.0 --no-deps pip install Flask==2.2.2 --no-deps pip install Flask-Cors==3.0.10 --no-deps pip install a2wsgi==1.8.0 --no-deps pip install alembic==1.12.1 --no-deps pip install a2wsgi uvicorn==0.18.1

非常坑