{"id":6341,"date":"2021-03-19T02:21:00","date_gmt":"2021-03-18T18:21:00","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=6341"},"modified":"2022-03-16T14:06:21","modified_gmt":"2022-03-16T06:06:21","slug":"%e4%bd%bf%e7%94%a8-python-%e4%bb%8e-0-%e5%bc%80%e5%8f%91%e5%b1%9e%e4%ba%8e%e4%bd%a0%e7%9a%84%e4%b8%aa%e4%ba%ba%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f-01-%e7%af%87%ef%bd%9c-%e5%88%9b%e5%bb%ba%e4%bd%a0","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=6341","title":{"rendered":"\u4f7f\u7528 Python \u4ece 0 \u5f00\u53d1\u5c5e\u4e8e\u4f60\u7684\u4e2a\u4eba\u7ba1\u7406\u7cfb\u7edf 01 \u7bc7\uff5c \u521b\u5efa\u4f60\u7684\u865a\u62df\u73af\u5883\u9879\u76ee"},"content":{"rendered":"\n<p>\u5728\u521b\u5efa\u4f60\u7684\u9879\u76ee\u4e4b\u524d\uff0c\u4f60\u53ef\u4ee5\u5148\u770b\u770b\u6211\u5728\u516c\u4f17\u53f7\u5199\u7684 <a href=\"https:\/\/vip.fxxkpython.com\/?p=6329\">\u4e0d pip install\uff0c\u4f60\u517b\u6211\u5417\uff1f<\/a>\uff0c\u5728\u8fd9\u91cc\u9762\u6211\u7ed9\u4f60\u4ecb\u7ecd\u4e86\u5982\u4f55\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u7ba1\u7406\u4f60\u7684\u7b2c\u4e09\u65b9\u5e93\u3002<\/p>\n\n\n\n<p>\u76f8\u4fe1\u770b\u5b8c\u4f60\u5df2\u7ecf\u5b89\u88c5\u597d\u4e86 pipenv\uff0c\u4e5f\u5df2\u7ecf\u4e86\u89e3\u4e86\u5b83\u7684\u4f7f\u7528\u65b9\u5f0f\u3002<\/p>\n\n\n\n<p>\u90a3\u4e48\u73b0\u5728\uff0c\u5f00\u59cb\u521b\u5efa\u4f60\u7684\u9879\u76ee\u5427\u3002<\/p>\n\n\n\n<h2>\u521b\u5efa\u4f60\u7684\u865a\u62df\u73af\u5883<\/h2>\n\n\n\n<p>\u5728\u4f60\u559c\u6b22\u7684\u5730\u65b9\uff0c\u521b\u5efa\u4e00\u4e2a\u5de5\u4f5c\u76ee\u5f55\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">mkdir personal_system<\/pre><\/div>\n\n\n\n<p>\u63a5\u7740\u8fdb\u5165\uff0c\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u73af\u5883\uff0c\u4ece\u6b64\u5728\u8fd9\u91cc\u5f00\u5fc3\u7684\u73a9\u800d\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">cd personal_system\npipenv install<\/pre><\/div>\n\n\n\n<p>\u6fc0\u6d3b\u5b83\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">pipenv shell<\/pre><\/div>\n\n\n\n<h2>\u5b89\u88c5 Flask<\/h2>\n\n\n\n<p>\u63a5\u7740\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5 <a href=\"https:\/\/flask.palletsprojects.com\/en\/1.1.x\/\">Flask<\/a>\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">pipenv install flask<\/pre><\/div>\n\n\n\n<h3>\u73b0\u5728\u5c31\u53ef\u4ee5\u800d\u4e00\u4e0b<\/h3>\n\n\n\n<p>\u73b0\u5728\u4f60\u7684\u73af\u5883\u5df2\u7ecf\u5177\u5907\u4e86\u4f7f\u7528 Python \u5f00\u53d1 web \u7684\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u5728\u91cc\u9762\u521b\u5efa\u4e00\u4e2a py \u6587\u4ef6\u6d4b\u8bd5\u4e00\u4e0b\uff0c\u6bd4\u5982\u521b\u5efa\u4e00\u4e2a fxxkpython.py \uff0c\u5199\u70b9\u4ee3\u7801\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">from flask import Flask\napp = Flask(__name__)\n\n@app.route('\/')\ndef hello():\n    return 'fxxkpython!!'<\/pre><\/div>\n\n\n\n<p>\u8fd0\u884c\u5b83\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">export FLASK_APP=fxxkpython.py\n\nflask run<\/pre><\/div>\n\n\n\n<p>\u63a5\u7740\u4f60\u53ef\u4ee5\u770b\u5230\u5b83\u8fd0\u884c\u8d77\u6765\u4e86\uff0c\u9ed8\u8ba4\u5730\u5740\u662f\uff1a<a href=\"http:\/\/127.0.0.1:5000\/\">http:\/\/127.0.0.1:5000\/<\/a><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">* Serving Flask app &quot;fxxkpython.py&quot;\n * Environment: production\n   WARNING: This is a development server. Do not use it in a production deployment.\n   Use a production WSGI server instead.\n * Debug mode: off\n * Running on http:\/\/127.0.0.1:5000\/ (Press CTRL+C to quit)<\/pre><\/div>\n\n\n\n<p>\u4f60\u53ef\u4ee5\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8fd0\u884c\u8fd9\u4e2a\u5730\u5740\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"818\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.03.02-2-1024x818.png\" alt=\"\" class=\"wp-image-6345\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.03.02-2-1024x818.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.03.02-2-300x240.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.03.02-2-768x613.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.03.02-2-1536x1227.png 1536w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.03.02-2-2048x1635.png 2048w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.03.02-2-769x614.png 769w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u4e00\u4e2a\u7b80\u5355\u7684\u7f51\u9875\u5c31\u88ab\u4f60\u8fd9\u6837\u5b9e\u73b0\u4e86\u3002<\/p>\n\n\n\n<h2>\u4f60\u7684\u56f0\u60d1<\/h2>\n\n\n\n<p>\u5982\u679c\u4f60\u7b2c\u4e00\u6b21\u63a5\u89e6\u4f7f\u7528 Python \u5f00\u53d1\u7f51\u7ad9\uff0c\u4f60\u53ef\u80fd\u4f1a\u6709\u8fd9\u6837\u7684\u56f0\u60d1\uff0c\u4ec0\u4e48\u662f Flask \u554a\uff1f\u600e\u4e48\u51e0\u884c\u4ee3\u7801\u5c31\u53ef\u4ee5\u76f4\u63a5\u521b\u5efa\u7f51\u9875\u88ab\u8bbf\u95ee\u4e86\uff1f<\/p>\n\n\n\n<h3>\u4ec0\u4e48\u662f Flask<\/h3>\n\n\n\n<p>\u521a\u521a\uff0c\u4f60\u4f7f\u7528\u4e86 pipenv install flask\uff0c\u6240\u4ee5\u4f60\u77e5\u9053\u5b83\u662f\u4e00\u4e2a Python \u6846\u67b6\uff0c\u5982\u679c\u4f60\u5b89\u88c5\u5b8c\u4e4b\u540e\u67e5\u770b Pipfile.lock \u6587\u4ef6\uff0c\u4f60\u4f1a\u53d1\u73b0 flask \u672c\u8eab\u4f9d\u8d56\u4e86\u8fd9\u4e48\u4e9b\u4e2a\u5e93\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>click<\/p><p>itsdangerous<\/p><p>jinja2<\/p><p>markupsafe<\/p><p>werkzeug<\/p><\/blockquote>\n\n\n\n<p>\u5176\u4e2d\u6bd4\u8f83\u4e3b\u8981\u7684\u4e24\u4e2a\u4f9d\u8d56\u662f werkzeug \u548c jinja\uff0cjinja \u4e3b\u8981\u662f\u7528\u6765\u4f5c\u4e3a\u6a21\u7248\u5f15\u64ce\uff0c\u5b9e\u73b0\u7f51\u9875\u7684\u6e32\u67d3\uff0c\u800c werkzeug \u4e3b\u8981\u662f\u89c4\u5b9a web \u7684\u670d\u52a1\u6807\u51c6\uff0c\u6bd4\u5982\u5bf9\u4e8e\u4e00\u4e9b http \u7684\u8bf7\u6c42\u3002\u8fd9\u662f Flask \u6700\u4e3b\u8981\u7684\u529f\u80fd\u5b9e\u73b0\uff0c\u81f3\u4e8e\u5176\u5b83\u7684\u529f\u80fd\uff0c\u6bd4\u5982\u6570\u636e\u5e93\u96c6\u6210\uff0c\u4e0a\u4f20\u4e0b\u8f7d\u7b49\u529f\u80fd Flask \u4e0d\u4f1a\u5e2e\u4f60\u76f4\u63a5\u5b9e\u73b0\u3002\u4f46\u662f\u5b83\u652f\u6301\u6269\u5c55\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u76f8\u5173\u7684\u6269\u5c55\u6765\u5b9e\u73b0\u5177\u4f53\u7684\u529f\u80fd\u3002<\/p>\n\n\n\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0cFlask \u7ed9\u6211\u4eec\u63d0\u4f9b web \u5f00\u53d1\u6700\u6838\u5fc3\u7684\u529f\u80fd\uff0c\u5176\u5b83\u7684\u5b9e\u73b0\u5b8c\u5168\u7531\u6211\u4eec\u81ea\u5df1\u51b3\u5b9a\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7684\u6269\u5c55\u5b9e\u73b0\u6211\u4eec\u81ea\u5df1\u60f3\u8981\u7684\u529f\u80fd\uff0c\u751a\u81f3\u53ef\u4ee5\u81ea\u5df1\u5f00\u53d1\u6269\u5c55\u3002<\/p>\n\n\n\n<p>\u521a\u521a\u6211\u4eec\u5728\u865a\u62df\u73af\u5883\u4e2d\u7b80\u5355\u5199\u4e86\u8fd9\u4e48\u51e0\u884c\u4ee3\u7801\uff1a<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D6341\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>\u7136\u540e\u8bbf\u95ee <a href=\"http:\/\/127.0.0.1:5000\/abc\">http:\/\/127.0.0.1:5000\/abc<\/a> \uff0c\u5c31\u53ef\u4ee5\u5f97\u5230\u4f60\u81ea\u5df1\u60f3\u8981\u54cd\u5e94\u7ed9\u7528\u6237\u7684\u5185\u5bb9\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"428\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.38.50-1024x428.png\" alt=\"\" class=\"wp-image-6343\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.38.50-1024x428.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.38.50-300x125.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.38.50-768x321.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.38.50-769x321.png 769w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/03\/\u622a\u5c4f2021-03-20-\u4e0a\u53481.38.50.png 1096w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>\u5f53\u7136\uff0c\u8fd9\u91cc\u53ea\u662f\u7ed9\u4f60\u6f14\u793a\u4e00\u4e0b\uff0c\u4e00\u822c HTML \u7684\u6837\u5f0f\u6211\u4eec\u4e0d\u4f1a\u76f4\u63a5\u5728\u65b9\u6cd5\u91cc\u9762\u5199\uff0c\u9879\u76ee\u4e5f\u6709\u5177\u4f53\u7684\u76ee\u5f55\u7ed3\u6784\uff0c\u4e0d\u5355\u7eaf\u53ea\u662f\u4e00\u4e2a py \u6587\u4ef6\u3002<\/p>\n\n\n\n<p>\u4e0d\u8fc7\u4ee5\u4e0a\u8fd9\u662f Flask \u6700\u57fa\u672c\u7684\u4f7f\u7528\u65b9\u5f0f\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5b83\u5bf9 Flask \u6709\u4e00\u4e2a\u6700\u521d\u6b65\u7684\u8ba4\u8bc6\uff0c\u5173\u4e8e\u5bf9\u5b83\u7684\u64cd\u4f5c\uff0c\u5f80\u540e\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\uff0c\u5728\u8fd9\u4e9b URL \u7ed1\u5b9a\u7684\u65b9\u6cd5\u4e2d\uff0c\u53bb\u5b9e\u73b0\u6211\u4eec\u81ea\u5df1\u60f3\u8981\u7684\u529f\u80fd\uff0c\u6bd4\u5982\u5728\u8fd9\u91cc\u9762\u5982\u4f55\u63a5\u6536\u5ba2\u6237\u7aef\u4f20\u6765\u7684\u4fe1\u606f\uff0c\u6211\u4eec\u53c8\u600e\u4e48\u5b58\u50a8\u76f8\u5173\u7684\u4fe1\u606f\uff0c\u53c8\u600e\u4e48\u8fd4\u56de\u4fe1\u606f\uff0c\u5982\u4f55\u6e32\u67d3\u89e3\u6790\u7b49\u7b49\u3002<\/p>\n\n\n\n<p>\u4f60\u662f\u4e0d\u662f\u8822\u8822\u6b32\u52a8\u60f3\u8981\u8d76\u7d27\u4e66\u5199\u81ea\u5df1\u7684\u4e2a\u4eba\u7ba1\u7406\u7cfb\u7edf\u4e86\u5462\uff1f<\/p>\n\n\n\n<p>\u522b\u7740\u6025\uff0c\u54b1\u4eec\u4e00\u6b65\u4e00\u6b65\u7406\u89e3\u5e76\u4e14\u6267\u884c\uff0c\u6211\u4eec\u4e0b\u56de\u89c1\uff0cpeace\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u521b\u5efa\u4f60\u7684\u9879\u76ee\u4e4b\u524d\uff0c\u4f60\u53ef\u4ee5\u5148\u770b\u770b\u6211\u5728\u516c\u4f17\u53f7\u5199\u7684 \u4e0d pip install\uff0c\u4f60\u517b\u6211\u5417\uff1f\uff0c\u5728\u8fd9\u91cc\u9762\u6211\u7ed9\u4f60\u4ecb\u7ecd\u4e86\u5982\u4f55\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u7ba1\u7406\u4f60\u7684\u7b2c\u4e09\u65b9\u5e93\u3002 \u76f8\u4fe1\u770b\u5b8c\u4f60\u5df2\u7ecf\u5b89\u88c5\u597d\u4e86 pipenv\uff0c\u4e5f\u5df2\u7ecf\u4e86\u89e3\u4e86\u5b83\u7684\u4f7f\u7528\u65b9\u5f0f\u3002 \u90a3\u4e48\u73b0\u5728\uff0c\u5f00\u59cb\u521b\u5efa\u4f60\u7684&hellip;<\/p>\n","protected":false},"author":1,"featured_media":6343,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[638,99],"tags":[549,547,550,133,156,548],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6341"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6341"}],"version-history":[{"count":1,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6341\/revisions"}],"predecessor-version":[{"id":6346,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6341\/revisions\/6346"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/6343"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}