Hello,
I followed your instructions, and so far, it went OK, until running the web server :
$ docker compose exec tools /scripts/start_web_server.sh
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: While importing 'main', an ImportError was raised:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/cli.py", line 245, in locate_app
__import__(module_name)
File "/web_server/main.py", line 1, in <module>
from flask import Flask, render_template, escape, url_for, send_file, send_from_directory, redirect
ImportError: cannot import name 'escape' from 'flask' (/usr/local/lib/python3.8/dist-packages/flask/__init__.py)
Hello,
I followed your instructions, and so far, it went OK, until running the web server :