baselinecheck_cdf
baselinecheck_cdf copied to clipboard
组件依赖关系默认的 requirements.txt 跑不起来
搭环境折腾了会儿,以下为成功搭建环境信息:
C:\Users\Administrator>python -V Python 3.7.8
C:\Users\Administrator>pip freeze bcrypt==4.0.1 cffi==1.15.1 click==8.1.3 colorama==0.4.6 cryptography==39.0.2 Flask==1.1.2 Flask-Login==0.5.0 Flask-WTF==1.0.0 gevent==21.8.0 greenlet==1.1.3.post0 importlib-metadata==6.1.0 itsdangerous==2.0.1 Jinja2==3.0.3 lxml==4.9.2 MarkupSafe==2.1.2 paramiko==2.7.2 peewee==3.14.4 pycparser==2.21 PyNaCl==1.5.0 python-docx==0.8.11 six==1.16.0 typing_extensions==4.5.0 Werkzeug==2.0.3 WTForms==2.3.3 zipp==3.15.0 zope.event==4.6 zope.interface==6.0
运行报错信息是什么,请截图查看下
请尝试使用以下requirements.txt安装第三方库测试下是否可以使用:
WTForms==2.3.3 flask==2.0.2 Werkzeug==2.0.0 peewee==3.14.4 paramiko==2.7.2 flask_login==0.5.0 python-docx==0.8.11 flask_wtf==1.0.0 gevent==21.8.0 jinja2==3.0.3
当时没截图,我贴出来的时已经调试成功了的依赖,给其他人做参考的。之前报错是 requirements.txt 中 Flask 和 Jinja2 版本无法兼容。
好的我已经更新了requirements.txt中的库版本,又有问题可以再提
,使用目前的requirements.txt安装依赖,启动程序会得到这个报错