{"id":932242,"date":"2024-12-26T17:54:15","date_gmt":"2024-12-26T09:54:15","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/932242.html"},"modified":"2024-12-26T17:54:17","modified_gmt":"2024-12-26T09:54:17","slug":"%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aepython%e5%ba%93","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/932242.html","title":{"rendered":"\u5982\u4f55\u914d\u7f6epython\u5e93"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25070201\/56d83a1e-9b7b-45b4-96d0-a55d308dd9f1.webp\" alt=\"\u5982\u4f55\u914d\u7f6epython\u5e93\" \/><\/p>\n<p><p> <strong>\u914d\u7f6ePython\u5e93\u901a\u5e38\u5305\u62ec\u5b89\u88c5\u5e93\u3001\u7ba1\u7406\u5e93\u7248\u672c\u3001\u8bbe\u7f6e\u865a\u62df\u73af\u5883\u3001\u89e3\u51b3\u4f9d\u8d56\u51b2\u7a81\u7b49\u6b65\u9aa4\u3002<\/strong>\u914d\u7f6ePython\u5e93\u7684\u6838\u5fc3\u8981\u70b9\u5305\u62ec\uff1a<strong>\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u5982pip\u3001\u521b\u5efa\u865a\u62df\u73af\u5883\u6765\u9694\u79bb\u9879\u76ee\u4f9d\u8d56\u3001\u4f7f\u7528requirements.txt\u6587\u4ef6\u6765\u8bb0\u5f55\u5e93\u7248\u672c\u3001\u4f7f\u7528conda\u7b49\u5de5\u5177\u7ba1\u7406\u590d\u6742\u4f9d\u8d56<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u521b\u5efa\u865a\u62df\u73af\u5883\u6765\u9694\u79bb\u9879\u76ee\u4f9d\u8d56<\/strong>\u662f\u4e00\u4e2a\u91cd\u8981\u73af\u8282\uff0c\u53ef\u4ee5\u786e\u4fdd\u9879\u76ee\u4e4b\u95f4\u7684\u5e93\u7248\u672c\u4e0d\u4f1a\u51b2\u7a81\uff0c\u5e76\u4e14\u53ef\u4ee5\u8f7b\u677e\u5730\u4e3a\u9879\u76ee\u8bbe\u7f6e\u548c\u5207\u6362\u4e0d\u540c\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<p><p>\u521b\u5efa\u865a\u62df\u73af\u5883\u7684\u8be6\u7ec6\u6b65\u9aa4\u5982\u4e0b\uff1a\u9996\u5148\uff0c\u786e\u4fdd\u60a8\u5df2\u5b89\u88c5\u4e86Python\u548cpip\u3002\u7136\u540e\uff0c\u4f7f\u7528<code>python -m venv &lt;\u73af\u5883\u540d\u79f0&gt;<\/code>\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u73af\u5883\u3002\u63a5\u7740\uff0c\u6fc0\u6d3b\u8fd9\u4e2a\u73af\u5883\uff1a\u5728Windows\u4e0a\u4f7f\u7528<code>&lt;\u73af\u5883\u540d\u79f0&gt;\\Scripts\\activate<\/code>\uff0c\u5728macOS\u548cLinux\u4e0a\u4f7f\u7528<code>source &lt;\u73af\u5883\u540d\u79f0&gt;\/bin\/activate<\/code>\u3002\u6fc0\u6d3b\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>pip install &lt;\u5e93\u540d&gt;<\/code>\u5b89\u88c5\u6240\u9700\u7684Python\u5e93\uff0c\u5e76\u4f7f\u7528<code>pip freeze &gt; requirements.txt<\/code>\u5c06\u5f53\u524d\u73af\u5883\u4e2d\u7684\u5e93\u53ca\u5176\u7248\u672c\u5bfc\u51fa\u5230requirements.txt\u6587\u4ef6\u4e2d\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u80fd\u4fdd\u6301\u9879\u76ee\u4f9d\u8d56\u7684\u6e05\u6670\u548c\u53ef\u63a7\uff0c\u8fd8\u80fd\u5728\u4e0d\u540c\u7684\u5f00\u53d1\u73af\u5883\u4e2d\u5feb\u901f\u91cd\u73b0\u76f8\u540c\u7684\u73af\u5883\u8bbe\u7f6e\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177<\/h3>\n<\/p>\n<p><p>Python\u7684\u5305\u7ba1\u7406\u5de5\u5177\u662f\u7ba1\u7406\u548c\u5b89\u88c5Python\u5e93\u7684\u6838\u5fc3\u5de5\u5177\u3002\u6700\u5e38\u7528\u7684\u5305\u7ba1\u7406\u5de5\u5177\u662fpip\uff0c\u5b83\u63d0\u4f9b\u4e86\u7b80\u5355\u4e14\u5f3a\u5927\u7684\u529f\u80fd\u6765\u83b7\u53d6\u5e76\u7ba1\u7406\u5e93\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u66f4\u65b0\u5e93<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528pip\u5b89\u88c5\u5e93\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>pip install &lt;\u5e93\u540d&gt;<\/code>\u5373\u53ef\u3002\u4e3a\u4e86\u786e\u4fdd\u5e93\u662f\u6700\u65b0\u7248\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip install --upgrade &lt;\u5e93\u540d&gt;<\/code>\u8fdb\u884c\u66f4\u65b0\u3002\u6b64\u5916\uff0cpip\u8fd8\u652f\u6301\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684\u5e93\uff0c\u5982<code>pip install &lt;\u5e93\u540d&gt;==1.0.0<\/code>\u3002<\/p>\n<\/p>\n<p><h4>2. \u7ba1\u7406\u5df2\u5b89\u88c5\u7684\u5e93<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7<code>pip list<\/code>\u53ef\u4ee5\u67e5\u770b\u5f53\u524d\u73af\u5883\u4e2d\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5e93\u53ca\u5176\u7248\u672c\u3002\u82e5\u9700\u8981\u5378\u8f7d\u67d0\u4e2a\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip uninstall &lt;\u5e93\u540d&gt;<\/code>\u3002\u5bf9\u4e8e\u67e5\u770b\u67d0\u4e2a\u5e93\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip show &lt;\u5e93\u540d&gt;<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u521b\u5efa\u865a\u62df\u73af\u5883<\/h3>\n<\/p>\n<p><p>\u865a\u62df\u73af\u5883\u662fPython\u9879\u76ee\u5f00\u53d1\u4e2d\u6781\u5176\u91cd\u8981\u7684\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u4e3a\u6bcf\u4e2a\u9879\u76ee\u63d0\u4f9b\u72ec\u7acb\u7684Python\u73af\u5883\u3002<\/p>\n<\/p>\n<p><h4>1. \u521b\u5efa\u865a\u62df\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528<code>python -m venv &lt;\u73af\u5883\u540d\u79f0&gt;<\/code>\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u8fd9\u4f1a\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>&lt;\u73af\u5883\u540d\u79f0&gt;<\/code>\u7684\u6587\u4ef6\u5939\uff0c\u5176\u4e2d\u5305\u542b\u72ec\u7acb\u7684Python\u53ef\u6267\u884c\u6587\u4ef6\u548cpip\u3002<\/p>\n<\/p>\n<p><h4>2. \u6fc0\u6d3b\u548c\u7ba1\u7406\u865a\u62df\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u5728Windows\u4e0a\uff0c\u6fc0\u6d3b\u865a\u62df\u73af\u5883\u7684\u547d\u4ee4\u662f<code>&lt;\u73af\u5883\u540d\u79f0&gt;\\Scripts\\activate<\/code>\uff0c\u800c\u5728macOS\u548cLinux\u4e0a\u5219\u662f<code>source &lt;\u73af\u5883\u540d\u79f0&gt;\/bin\/activate<\/code>\u3002\u6fc0\u6d3b\u540e\uff0c\u60a8\u4f1a\u5728\u547d\u4ee4\u884c\u63d0\u793a\u7b26\u524d\u770b\u5230\u73af\u5883\u540d\u79f0\u7684\u524d\u7f00\uff0c\u8868\u793a\u5f53\u524d\u6b63\u5728\u4f7f\u7528\u8be5\u865a\u62df\u73af\u5883\u3002\u5728\u4f7f\u7528\u5b8c\u6bd5\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u8f93\u5165<code>deactivate<\/code>\u6765\u9000\u51fa\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528requirements.txt\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>requirements.txt\u6587\u4ef6\u662f\u8bb0\u5f55\u9879\u76ee\u6240\u9700Python\u5e93\u53ca\u5176\u7248\u672c\u7684\u6587\u672c\u6587\u4ef6\uff0c\u53ef\u4ee5\u7528\u6765\u5feb\u901f\u91cd\u5efa\u9879\u76ee\u73af\u5883\u3002<\/p>\n<\/p>\n<p><h4>1. \u751f\u6210requirements.txt<\/h4>\n<\/p>\n<p><p>\u5728\u6fc0\u6d3b\u7684\u865a\u62df\u73af\u5883\u4e2d\uff0c\u901a\u8fc7<code>pip freeze &gt; requirements.txt<\/code>\u53ef\u4ee5\u751f\u6210\u5f53\u524d\u73af\u5883\u7684requirements.txt\u6587\u4ef6\uff0c\u5176\u4e2d\u5217\u51fa\u4e86\u5f53\u524d\u5b89\u88c5\u7684\u6240\u6709\u5e93\u53ca\u5176\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528requirements.txt\u5b89\u88c5\u5e93<\/h4>\n<\/p>\n<p><p>\u5f53\u60a8\u9700\u8981\u5728\u65b0\u7684\u73af\u5883\u4e2d\u91cd\u5efa\u9879\u76ee\u73af\u5883\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip install -r requirements.txt<\/code>\u6765\u5b89\u88c5requirements.txt\u4e2d\u5217\u51fa\u7684\u6240\u6709\u5e93\u53ca\u5176\u7248\u672c\u3002\u8fd9\u786e\u4fdd\u4e86\u4e0d\u540c\u5f00\u53d1\u73af\u5883\u4e0b\u7684\u5e93\u7248\u672c\u4e00\u81f4\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528conda\u8fdb\u884c\u5e93\u7ba1\u7406<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u590d\u6742\u7684\u9879\u76ee\uff0c\u7279\u522b\u662f\u6d89\u53ca\u5230\u79d1\u5b66\u8ba1\u7b97\u548c\u6570\u636e\u5206\u6790\u7684\u9879\u76ee\uff0cconda\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\u3002<\/p>\n<\/p>\n<p><h4>1. \u4ec0\u4e48\u662fconda<\/h4>\n<\/p>\n<p><p>Conda\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5305\u7ba1\u7406\u7cfb\u7edf\u548c\u73af\u5883\u7ba1\u7406\u7cfb\u7edf\uff0c\u652f\u6301\u8de8\u5e73\u53f0\uff0c\u80fd\u591f\u7ba1\u7406\u8f6f\u4ef6\u5305\u3001\u4f9d\u8d56\u548c\u73af\u5883\u3002\u5b83\u80fd\u591f\u5904\u7406\u4e8c\u8fdb\u5236\u5305\uff0c\u56e0\u6b64\u975e\u5e38\u9002\u5408\u4e8e\u79d1\u5b66\u8ba1\u7b97\u6240\u9700\u7684\u590d\u6742\u4f9d\u8d56\u7ba1\u7406\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528conda\u521b\u5efa\u548c\u7ba1\u7406\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528<code>conda create --name &lt;\u73af\u5883\u540d\u79f0&gt; python=&lt;\u7248\u672c&gt;<\/code>\u6765\u521b\u5efa\u65b0\u7684\u73af\u5883\uff0c\u5e76\u901a\u8fc7<code>conda activate &lt;\u73af\u5883\u540d\u79f0&gt;<\/code>\u6fc0\u6d3b\u5b83\u3002\u901a\u8fc7<code>conda install &lt;\u5e93\u540d&gt;<\/code>\u53ef\u4ee5\u5b89\u88c5\u5e93\uff0c\u7c7b\u4f3c\u4e8epip\uff0c\u4f46conda\u4f1a\u81ea\u52a8\u7ba1\u7406\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u89e3\u51b3\u4f9d\u8d56\u51b2\u7a81<\/h3>\n<\/p>\n<p><p>\u5728\u914d\u7f6ePython\u5e93\u65f6\uff0c\u4f9d\u8d56\u51b2\u7a81\u662f\u4e00\u4e2a\u5e38\u89c1\u7684\u95ee\u9898\uff0c\u7279\u522b\u662f\u5f53\u591a\u4e2a\u5e93\u9700\u8981\u4e0d\u540c\u7248\u672c\u7684\u76f8\u540c\u4f9d\u8d56\u65f6\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528\u865a\u62df\u73af\u5883\u89e3\u51b3\u51b2\u7a81<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u4e3a\u6bcf\u4e2a\u9879\u76ee\u521b\u5efa\u72ec\u7acb\u7684\u865a\u62df\u73af\u5883\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u9694\u79bb\u9879\u76ee\u7684\u4f9d\u8d56\uff0c\u907f\u514d\u51b2\u7a81\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u7248\u672c\u63a7\u5236\u548cconda<\/h4>\n<\/p>\n<p><p>\u5728requirements.txt\u4e2d\u6307\u5b9a\u5e93\u7684\u7248\u672c\u53ef\u4ee5\u5e2e\u52a9\u7ba1\u7406\u4f9d\u8d56\u7248\u672c\u3002\u800cconda\u7531\u4e8e\u5176\u5f3a\u5927\u7684\u4f9d\u8d56\u89e3\u51b3\u80fd\u529b\uff0c\u53ef\u4ee5\u5728\u5b89\u88c5\u5e93\u65f6\u81ea\u52a8\u8c03\u6574\u4ee5\u89e3\u51b3\u51b2\u7a81\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u6700\u4f73\u5b9e\u8df5\u4e0e\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5728\u914d\u7f6ePython\u5e93\u65f6\uff0c\u9075\u5faa\u4e00\u4e9b\u6700\u4f73\u5b9e\u8df5\u53ef\u4ee5\u5e2e\u52a9\u7b80\u5316\u8fc7\u7a0b\uff0c\u63d0\u9ad8\u6548\u7387\u3002<\/p>\n<\/p>\n<p><h4>1. \u4fdd\u6301\u73af\u5883\u6574\u6d01<\/h4>\n<\/p>\n<p><p>\u5b9a\u671f\u4f7f\u7528<code>pip list<\/code>\u548c<code>conda list<\/code>\u68c0\u67e5\u5df2\u5b89\u88c5\u7684\u5e93\uff0c\u5e76\u5378\u8f7d\u4e0d\u518d\u9700\u8981\u7684\u5e93\uff0c\u4ee5\u4fdd\u6301\u73af\u5883\u7684\u6574\u6d01\u3002<\/p>\n<\/p>\n<p><h4>2. \u7248\u672c\u63a7\u5236<\/h4>\n<\/p>\n<p><p>\u5c3d\u53ef\u80fd\u5728requirements.txt\u4e2d\u6307\u5b9a\u5e93\u7684\u7248\u672c\uff0c\u4ee5\u786e\u4fdd\u5728\u4e0d\u540c\u73af\u5883\u4e2d\u7684\u4e00\u81f4\u6027\u3002<\/p>\n<\/p>\n<p><h4>3. \u6587\u6863\u548c\u6ce8\u91ca<\/h4>\n<\/p>\n<p><p>\u4e3a\u9879\u76ee\u7684requirements.txt\u6587\u4ef6\u6dfb\u52a0\u6ce8\u91ca\uff0c\u8bf4\u660e\u67d0\u4e9b\u5e93\u548c\u7248\u672c\u7684\u9009\u62e9\u539f\u56e0\uff0c\u65b9\u4fbf\u65e5\u540e\u7ef4\u62a4\u548c\u56e2\u961f\u534f\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u9075\u5faa\u4ee5\u4e0a\u6b65\u9aa4\u548c\u5efa\u8bae\uff0c\u60a8\u53ef\u4ee5\u66f4\u9ad8\u6548\u5730\u914d\u7f6ePython\u5e93\uff0c\u786e\u4fdd\u9879\u76ee\u7684\u6210\u529f\u5f00\u53d1\u548c\u90e8\u7f72\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684Python\u5e93\u8fdb\u884c\u9879\u76ee\u5f00\u53d1\uff1f<\/strong><br \/>\u5728\u9009\u62e9Python\u5e93\u65f6\uff0c\u9700\u8981\u8003\u8651\u9879\u76ee\u7684\u5177\u4f53\u9700\u6c42\u3001\u5e93\u7684\u7a33\u5b9a\u6027\u3001\u6587\u6863\u7684\u5b8c\u6574\u6027\u4ee5\u53ca\u793e\u533a\u7684\u652f\u6301\u60c5\u51b5\u3002\u5e38\u89c1\u7684\u9009\u62e9\u6807\u51c6\u5305\u62ec\u5e93\u7684\u529f\u80fd\u662f\u5426\u7b26\u5408\u9700\u6c42\u3001\u662f\u5426\u6709\u6d3b\u8dc3\u7684\u7ef4\u62a4\u8005\u4ee5\u53ca\u662f\u5426\u6709\u8db3\u591f\u7684\u7528\u6237\u53cd\u9988\u3002\u6b64\u5916\uff0c\u67e5\u770b\u9879\u76ee\u7684GitHub\u9875\u9762\u3001PyPI\u7684\u4e0b\u8f7d\u91cf\u548c\u66f4\u65b0\u9891\u7387\u4e5f\u80fd\u5e2e\u52a9\u5224\u65ad\u5e93\u7684\u53d7\u6b22\u8fce\u7a0b\u5ea6\u3002<\/p>\n<p><strong>\u5982\u4f55\u89e3\u51b3Python\u5e93\u7684\u4f9d\u8d56\u51b2\u7a81\u95ee\u9898\uff1f<\/strong><br \/>\u4f9d\u8d56\u51b2\u7a81\u901a\u5e38\u53d1\u751f\u5728\u9879\u76ee\u4e2d\u4f7f\u7528\u7684\u5e93\u7248\u672c\u4e0d\u517c\u5bb9\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ef\u4ee5\u4f7f\u7528\u865a\u62df\u73af\u5883\uff08\u5982venv\u6216conda\uff09\u6765\u9694\u79bb\u4e0d\u540c\u9879\u76ee\u7684\u4f9d\u8d56\uff0c\u786e\u4fdd\u6bcf\u4e2a\u9879\u76ee\u4f7f\u7528\u72ec\u7acb\u7684\u5e93\u7248\u672c\u3002\u8fd8\u53ef\u4ee5\u5229\u7528\u5de5\u5177\u5982pipenv\u6216poetry\uff0c\u5b83\u4eec\u80fd\u591f\u81ea\u52a8\u7ba1\u7406\u4f9d\u8d56\u5e76\u521b\u5efa\u9501\u6587\u4ef6\uff0c\u786e\u4fdd\u73af\u5883\u7684\u4e00\u81f4\u6027\u3002<\/p>\n<p><strong>\u5728\u914d\u7f6ePython\u5e93\u65f6\uff0c\u5982\u4f55\u4f18\u5316\u5b89\u88c5\u901f\u5ea6\uff1f<\/strong><br \/>\u4f18\u5316\u5b89\u88c5\u901f\u5ea6\u53ef\u4ee5\u901a\u8fc7\u51e0\u4e2a\u65b9\u6cd5\u5b9e\u73b0\u3002\u4f7f\u7528\u56fd\u5185\u7684\u955c\u50cf\u6e90\u53ef\u4ee5\u663e\u8457\u52a0\u5feb\u4e0b\u8f7d\u901f\u5ea6\uff0c\u6bd4\u5982\u4f7f\u7528\u6e05\u534e\u5927\u5b66\u7684\u955c\u50cf\u3002\u5728\u5b89\u88c5\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u53c2\u6570\u8bbe\u7f6e\u6765\u7981\u7528\u6d4b\u8bd5\u548c\u6587\u6863\u7684\u4e0b\u8f7d\u3002\u6b64\u5916\uff0c\u786e\u4fdd\u4f7f\u7528\u7684\u662f\u6700\u65b0\u7248\u672c\u7684pip\u548csetuptools\uff0c\u5b83\u4eec\u901a\u5e38\u4f1a\u6709\u6027\u80fd\u4f18\u5316\u548cBug\u4fee\u590d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u914d\u7f6ePython\u5e93\u901a\u5e38\u5305\u62ec\u5b89\u88c5\u5e93\u3001\u7ba1\u7406\u5e93\u7248\u672c\u3001\u8bbe\u7f6e\u865a\u62df\u73af\u5883\u3001\u89e3\u51b3\u4f9d\u8d56\u51b2\u7a81\u7b49\u6b65\u9aa4\u3002\u914d\u7f6ePython\u5e93\u7684\u6838\u5fc3\u8981\u70b9\u5305 [&hellip;]","protected":false},"author":3,"featured_media":932246,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/932242"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=932242"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/932242\/revisions"}],"predecessor-version":[{"id":932247,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/932242\/revisions\/932247"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/932246"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=932242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=932242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=932242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}