求解,大佬们看看吧
python3吧
全部回复
仅看楼主
level 1
python小白,大佬们能解释一下为什么这个index.hlmt无法找到呢?
2024年08月23日 06点08分 1
吧务
level 12
重启一下试试
2024年08月24日 21点08分 2
level 1
弱警告一般不会导致报错,这个警告是因为当前目录下不存在index.html文件(index.html的完整路径是.\template\index.html)。
flask框架会通过render_template自动定位,简单点来说就是只要不影响网站运行,不用管弱警告。
2024年08月26日 09点08分 3
level 1
请问你是怎么解决的 我的也爆这个了 并且在index.html里图片死活检索不到文件夹里的
2024年11月15日 01点11分 4
level 1
试试给templates文件夹设置为source_root呢
2024年12月14日 07点12分 5
1