C:\Users\81902>pip install flask
Requirement already satisfied: flask in c:\programdata\anaconda3\lib\site-packages (1.1.2)
Requirement already satisfied: Jinja2>=2.10.1 in c:\programdata\anaconda3\lib\site-packages (from flask) (2.11.3)
Requirement already satisfied: itsdangerous>=0.24 in c:\programdata\anaconda3\lib\site-packages (from flask) (1.1.0)
Requirement already satisfied: Werkzeug>=0.15 in c:\programdata\anaconda3\lib\site-packages (from flask) (1.0.1)
Requirement already satisfied: click>=5.1 in c:\programdata\anaconda3\lib\site-packages (from flask) (7.1.2)
Requirement already satisfied: MarkupSafe>=0.23 in c:\programdata\anaconda3\lib\site-packages (from Jinja2>=2.10.1->flask) (1.1.1)
C:\Users\81902>python
Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate this environment
please see https://conda.io/activation
Type "help", "copyright", "credits" or "license" for more information.
gt;>> import flask
File "<stdin>", line 1
gt;>> import flask
^
SyntaxError: invalid syntax
>>> flask.version
File "<stdin>", line 1
>>> flask.version
^
SyntaxError: invalid syntax
'0.12'
'0.12'
SyntaxError: invalid syntax
File "<stdin>", line 1
SyntaxError: invalid syntax
^
IndentationError: unexpected indent
1
1
2
2
3
3
4
4
>>> import flask
File "<stdin>", line 1
>>> import flask
^
SyntaxError: invalid syntax
>>> flask.version
File "<stdin>", line 1
>>> flask.version
^
SyntaxError: invalid syntax
'0.12'IndentationError: unexpected indent
'0.12'IndentationError: unexpected indent
File "<stdin>", line 1
'0.12'IndentationError: unexpected indent
^
SyntaxError: invalid syntax
コード
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/07/17 14:28
2021/07/17 15:43 編集
2021/07/18 00:08
2021/07/18 01:10
2021/07/18 02:36