RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the application to something unique and secret.
When we run the Flask project on the liunx system, we encounter this error:
Solution:
It is basically said on the Internet, set SECRET_KEY under the Flask object app:
add it to the startup file of my project, I can successfully run the project under window10, but it cannot succeed on the liunx system or an error is
added here under the startup file of my project Can run successfully in linux