You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./hello_app/init.py", line 1, in
from flask import Flask # Import the Flask class
ModuleNotFoundError: No module named 'flask'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. GAME OVER ***
The text was updated successfully, but these errors were encountered:
The issue seems happen again even "tiangolo/uwsgi-nginx-flask:python3.8-alpine-2020-12-19" is already changed to. It looks like the new image from Dockerhub was not built properly so Flask is not installed in.
An easy way is just uncommenting below lines in Dockerfile:
#COPY requirements.txt /
#RUN pip install --no-cache-dir -U pip
#RUN pip install --no-cache-dir -r /requirements.txt
I build image via dockerfile
When container start i see error in container.
Traceback (most recent call last):
File "./hello_app/init.py", line 1, in
from flask import Flask # Import the Flask class
ModuleNotFoundError: No module named 'flask'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. GAME OVER ***
The text was updated successfully, but these errors were encountered: