質問編集履歴
2
新たな情報
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,39 @@
|
|
36
36
|
|
37
37
|
ring) [], CommandNotFoundException
|
38
38
|
|
39
|
-
+ FullyQualifiedErrorId : CommandNotFoundException
|
39
|
+
+ FullyQualifiedErrorId : CommandNotFoundException]
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
PS C:\Users\kayoc\Desktop\selfstudy\templates\myapp> set FLASK_APP=hello.py
|
50
|
+
|
51
|
+
PS C:\Users\kayoc\Desktop\selfstudy\templates\myapp> flask run
|
52
|
+
|
53
|
+
* Environment: production
|
54
|
+
|
55
|
+
WARNING: Do not use the development server in a production environment.
|
56
|
+
|
57
|
+
Use a production WSGI server instead.
|
58
|
+
|
59
|
+
* Debug mode: off
|
60
|
+
|
61
|
+
Usage: flask run [OPTIONS]
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
Error: Could not locate a Flask application. You did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not found in the current directory.
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
PS C:\Users\kayoc\Desktop\selfstudy\templates\myapp>
|
40
72
|
|
41
73
|
### 該当のソースコードpython
|
42
74
|
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
-
from flask im
|
49
|
+
from flask import flask
|
50
50
|
|
51
51
|
app= Flask(__name__)
|
52
52
|
|