Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
woaidianqian opened this issue Aug 16, 2024 · 5 comments
Closed

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

woaidianqian opened this issue Aug 16, 2024 · 5 comments

Comments

@woaidianqian
Copy link

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
Copy link

ychxp commented Sep 22, 2024

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

@ychxp
Copy link

ychxp commented Sep 22, 2024

不需要修改这个代码,就是一堆库的依赖版本有问题,根据这个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

非常坑

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 21, 2024
@miss85246
Copy link

不需要修改这个代码,就是一堆库的依赖版本有问题,根据这个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

非常坑

非常有用,感谢!

@github-actions github-actions bot removed the stale label Nov 23, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants