85 lines
3.2 KiB
Plaintext
85 lines
3.2 KiB
Plaintext
{
|
|
"cells": [
|
|
{
|
|
"metadata": {},
|
|
"cell_type": "markdown",
|
|
"source": "## 安装flask",
|
|
"id": "d08d0aec541e30fb"
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"id": "initial_id",
|
|
"metadata": {
|
|
"collapsed": true,
|
|
"ExecuteTime": {
|
|
"end_time": "2025-08-29T01:31:15.189520Z",
|
|
"start_time": "2025-08-29T01:30:52.483942Z"
|
|
}
|
|
},
|
|
"source": "pip install flask",
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"Collecting flask\r\n",
|
|
" Downloading flask-3.1.2-py3-none-any.whl.metadata (3.2 kB)\r\n",
|
|
"Collecting blinker>=1.9.0 (from flask)\r\n",
|
|
" Downloading blinker-1.9.0-py3-none-any.whl.metadata (1.6 kB)\r\n",
|
|
"Requirement already satisfied: click>=8.1.3 in /opt/conda/lib/python3.11/site-packages (from flask) (8.1.7)\r\n",
|
|
"Collecting itsdangerous>=2.2.0 (from flask)\r\n",
|
|
" Downloading itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)\r\n",
|
|
"Requirement already satisfied: jinja2>=3.1.2 in /opt/conda/lib/python3.11/site-packages (from flask) (3.1.2)\r\n",
|
|
"Requirement already satisfied: markupsafe>=2.1.1 in /opt/conda/lib/python3.11/site-packages (from flask) (2.1.3)\r\n",
|
|
"Collecting werkzeug>=3.1.0 (from flask)\r\n",
|
|
" Downloading werkzeug-3.1.3-py3-none-any.whl.metadata (3.7 kB)\r\n",
|
|
"Downloading flask-3.1.2-py3-none-any.whl (103 kB)\r\n",
|
|
"\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m103.3/103.3 kB\u001B[0m \u001B[31m421.7 kB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0m00:01\u001B[0m00:01\u001B[0m\r\n",
|
|
"\u001B[?25hDownloading blinker-1.9.0-py3-none-any.whl (8.5 kB)\r\n",
|
|
"Downloading itsdangerous-2.2.0-py3-none-any.whl (16 kB)\r\n",
|
|
"Downloading werkzeug-3.1.3-py3-none-any.whl (224 kB)\r\n",
|
|
"\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m224.5/224.5 kB\u001B[0m \u001B[31m1.1 MB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0ma \u001B[36m0:00:01\u001B[0m\r\n",
|
|
"\u001B[?25hInstalling collected packages: werkzeug, itsdangerous, blinker, flask\r\n",
|
|
" Attempting uninstall: blinker\r\n",
|
|
" Found existing installation: blinker 1.6.3\r\n",
|
|
" Uninstalling blinker-1.6.3:\r\n",
|
|
" Successfully uninstalled blinker-1.6.3\r\n",
|
|
"Successfully installed blinker-1.9.0 flask-3.1.2 itsdangerous-2.2.0 werkzeug-3.1.3\r\n",
|
|
"Note: you may need to restart the kernel to use updated packages.\n"
|
|
]
|
|
}
|
|
],
|
|
"execution_count": 1
|
|
},
|
|
{
|
|
"metadata": {},
|
|
"cell_type": "code",
|
|
"outputs": [],
|
|
"execution_count": null,
|
|
"source": "",
|
|
"id": "f9af5a802cbd2abe"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"kernelspec": {
|
|
"display_name": "Python 3",
|
|
"language": "python",
|
|
"name": "python3"
|
|
},
|
|
"language_info": {
|
|
"codemirror_mode": {
|
|
"name": "ipython",
|
|
"version": 2
|
|
},
|
|
"file_extension": ".py",
|
|
"mimetype": "text/x-python",
|
|
"name": "python",
|
|
"nbconvert_exporter": "python",
|
|
"pygments_lexer": "ipython2",
|
|
"version": "2.7.6"
|
|
}
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat_minor": 5
|
|
}
|