reason:
reder_template directory is to find the folder templates in the current directory. The index.html file should be placed in the folder templates.
Solution:
Put app.py in the Templates folder outside the folder.
Read More:
- [Solved] Angular12 ng build Error: Index html generation failed.
- The solution of no module named ‘jinja2. Asyncsupport’
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- [Solved] HTML report error, httprunner 3. X HTML report error, oserror: [winerror 6] handle invalid (resolved)
- [Solved] URIError: Failed to decode param ‘/%3C%=%20BASE_URL%20%3Estatic/index.%3C%=%20VUE_APP_INDEX_CSS_HASH%20%3E.css’
- Notes on atom editor_ (11) Editor previews HTML page in real time (add in: atom HTML preview)
- Markdownpad2 Error: Html Rendering Error (An error occurred with the Html rendering component.)
- [Go] Solve the garbled content sent by go-smtp and the unparsed html mail sent
- [Solved] gateway Error: reactor.core.Exceptions$ErrorCallbackNotImplemented
- [Solved] 01654 error: the index cannot be extended through 8
- [Solved] Git error: bad signature 0x00000000 fatal: index file corrupt
- The index.nvue page of uniapp reports an error about CSS
- JanusGraph Error: Unknown external index backend [How to Solve]
- Zeal Open html,css, javascript Error: Content rendering error
- [Solved] org.thymeleaf.exceptions.TemplateInputException: Error resolving template [currentUserCartItems],
- How to Solve Error: avoided redundant navigation to current location: “index/user”
- [Solved] HTML_Uncaught SyntaxError: Cannot use import statement outside a module
- [Solved] redis.exceptions.ResponseError: unknown command `KEYS`
- [Solved] selenium.common.exceptions.WebDriverException: Message: An unknown server-side error
- Wechat Applet error: [app.json file content error] app json: [“usingComponents“][“van-button“]: “@vant/weapp/lib/button/index