{"id":990303,"date":"2024-12-27T08:19:03","date_gmt":"2024-12-27T00:19:03","guid":{"rendered":""},"modified":"2024-12-27T08:19:06","modified_gmt":"2024-12-27T00:19:06","slug":"python%e4%b8%adpip%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/990303.html","title":{"rendered":"python\u4e2dpip\u5982\u4f55\u4f7f\u7528"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25065105\/7023f9fd-8d20-4eac-998e-5f9566733624.webp\" alt=\"python\u4e2dpip\u5982\u4f55\u4f7f\u7528\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c<strong>pip\u662f\u4e00\u4e2a\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u7528\u4e8e\u5b89\u88c5\u3001\u66f4\u65b0\u548c\u5378\u8f7dPython\u5305<\/strong>\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6765\u6267\u884c\u8fd9\u4e9b\u64cd\u4f5c\uff0c<strong>\u4f7f\u7528pip\u53ef\u4ee5\u8f7b\u677e\u7ba1\u7406\u9879\u76ee\u7684\u4f9d\u8d56\u5173\u7cfb\u3001\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684\u5305\u3001\u67e5\u770b\u5df2\u5b89\u88c5\u5305\u5217\u8868<\/strong>\u3002\u6bd4\u5982\uff0c\u8981\u5b89\u88c5\u4e00\u4e2a\u5305\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>pip install<\/code>\u547d\u4ee4\uff1b\u8981\u66f4\u65b0\u5305\uff0c\u4f7f\u7528<code>pip install --upgrade<\/code>\u547d\u4ee4\uff1b\u8981\u5378\u8f7d\u5305\uff0c\u4f7f\u7528<code>pip uninstall<\/code>\u547d\u4ee4\u3002<strong>pip\u8fd8\u652f\u6301\u4ecerequirements.txt\u6587\u4ef6\u4e2d\u6279\u91cf\u5b89\u88c5\u5305<\/strong>\uff0c\u8fd9\u5728\u56e2\u961f\u534f\u4f5c\u548c\u9879\u76ee\u90e8\u7f72\u65f6\u975e\u5e38\u6709\u7528\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728\u4e0d\u540c\u73af\u5883\u4e0b\u4f7f\u7528pip\u4ee5\u53ca\u4e00\u4e9b\u8fdb\u9636\u6280\u5de7\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001PIP\u7684\u5b89\u88c5\u4e0e\u57fa\u672c\u4f7f\u7528<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5pip<\/li>\n<\/ol>\n<p><p>\u5927\u591a\u6570\u73b0\u4ee3Python\u53d1\u884c\u7248\u90fd\u81ea\u5e26pip\u5de5\u5177\u3002\u5982\u679c\u4f60\u53d1\u73b0\u6ca1\u6709pip\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u4f7f\u7528get-pip.py\u811a\u672c<\/strong>\uff1a\u4f60\u53ef\u4ee5\u4ecePython\u5b98\u65b9\u83b7\u53d6\u4e00\u4e2a\u53eb\u505aget-pip.py\u7684\u811a\u672c\u6765\u5b89\u88c5pip\u3002\u4e0b\u8f7d\u540e\uff0c\u8fd0\u884c<code>python get-pip.py<\/code>\u5373\u53ef\u3002<\/li>\n<li><strong>\u901a\u8fc7\u64cd\u4f5c\u7cfb\u7edf\u7684\u5305\u7ba1\u7406\u5de5\u5177<\/strong>\uff1a\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5305\u7ba1\u7406\u5de5\u5177\u5b89\u88c5\uff0c\u4f8b\u5982<code>sudo apt-get install python3-pip<\/code>\u3002<\/li>\n<\/ul>\n<ol start=\"2\">\n<li>\n<p>\u5b89\u88c5Python\u5305<\/p>\n<\/p>\n<p><p>\u4f7f\u7528pip\u5b89\u88c5Python\u5305\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>pip install \u5305\u540d<\/code>\u5373\u53ef\u3002\u4f8b\u5982\uff0c\u5b89\u88c5requests\u5e93\uff0c\u4f60\u53ea\u9700\u8f93\u5165<code>pip install requests<\/code>\u3002pip\u4f1a\u81ea\u52a8\u4ecePython Package Index (PyPI)\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684requests\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u5378\u8f7dPython\u5305<\/p>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u4e0d\u518d\u9700\u8981\u67d0\u4e2a\u5305\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip uninstall \u5305\u540d<\/code>\u547d\u4ee4\u6765\u5378\u8f7d\u3002\u4f8b\u5982\uff0c\u8981\u5378\u8f7drequests\u5e93\uff0c\u8f93\u5165<code>pip uninstall requests<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001PIP\u8fdb\u9636\u4f7f\u7528\u6280\u5de7<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u6307\u5b9a\u7248\u672c\u5b89\u88c5<\/p>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u5b89\u88c5\u67d0\u4e2a\u7279\u5b9a\u7248\u672c\u7684\u5e93\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u5728\u5305\u540d\u540e\u52a0\u4e0a<code>==\u7248\u672c\u53f7<\/code>\u6765\u6307\u5b9a\u3002\u4f8b\u5982\uff0c\u8981\u5b89\u88c5requests\u5e93\u76842.25.1\u7248\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip install requests==2.25.1<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u66f4\u65b0\u5df2\u5b89\u88c5\u5305<\/p>\n<\/p>\n<p><p>\u5f53\u9700\u8981\u66f4\u65b0\u67d0\u4e2a\u5305\u5230\u6700\u65b0\u7248\u672c\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip install --upgrade \u5305\u540d<\/code>\u3002\u8fd9\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5\u5305\u7684\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u67e5\u770b\u5df2\u5b89\u88c5\u5305\u5217\u8868<\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>pip list<\/code>\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u5f53\u524d\u73af\u5883\u4e2d\u5df2\u5b89\u88c5\u7684\u6240\u6709Python\u5305\u53ca\u5176\u7248\u672c\u4fe1\u606f\u3002\u8fd9\u5bf9\u4e8e\u7ba1\u7406\u548c\u68c0\u67e5\u9879\u76ee\u7684\u4f9d\u8d56\u5173\u7cfb\u975e\u5e38\u6709\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528requirements.txt\u6587\u4ef6<\/p>\n<\/p>\n<p><p>\u5728\u56e2\u961f\u534f\u4f5c\u4e2d\uff0c\u901a\u5e38\u4f1a\u5c06\u9879\u76ee\u7684\u6240\u6709\u4f9d\u8d56\u5305\u8bb0\u5f55\u5728\u4e00\u4e2arequirements.txt\u6587\u4ef6\u4e2d\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528<code>pip freeze &gt; requirements.txt<\/code>\u547d\u4ee4\u751f\u6210\u4e00\u4e2a\u5305\u542b\u5f53\u524d\u73af\u5883\u4e2d\u6240\u6709\u5305\u53ca\u5176\u7248\u672c\u7684\u6587\u4ef6\u3002\u5176\u4ed6\u4eba\u53ef\u4ee5\u4f7f\u7528<code>pip install -r requirements.txt<\/code>\u547d\u4ee4\u6765\u5b89\u88c5\u8fd9\u4e9b\u4f9d\u8d56\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001PIP\u4e0e\u865a\u62df\u73af\u5883<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u521b\u5efa\u865a\u62df\u73af\u5883<\/p>\n<\/p>\n<p><p>\u5728\u5f00\u53d1\u4e0d\u540c\u9879\u76ee\u65f6\uff0c\u53ef\u80fd\u9700\u8981\u4e0d\u540c\u7248\u672c\u7684\u5e93\uff0c\u8fd9\u65f6\u4f7f\u7528\u865a\u62df\u73af\u5883\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u9009\u62e9\u3002\u901a\u8fc7<code>python -m venv \u73af\u5883\u540d<\/code>\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/p>\n<\/p>\n<p><p>\u521b\u5efa\u865a\u62df\u73af\u5883\u540e\uff0c\u9700\u8981\u6fc0\u6d3b\u5b83\u4ee5\u4f7f\u7528\u5176\u4e2d\u7684pip\u548cPython\u89e3\u91ca\u5668\u3002\u5728Windows\u4e0a\uff0c\u4f7f\u7528<code>.\\\u73af\u5883\u540d\\Scripts\\activate<\/code>\u547d\u4ee4\uff1b\u5728Unix\u6216MacOS\u4e0a\uff0c\u4f7f\u7528<code>source \u73af\u5883\u540d\/bin\/activate<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u5728\u865a\u62df\u73af\u5883\u4e2d\u4f7f\u7528pip<\/p>\n<\/p>\n<p><p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\u540e\uff0c\u6240\u6709\u7684pip\u64cd\u4f5c\u90fd\u5c06\u5728\u8be5\u865a\u62df\u73af\u5883\u4e2d\u8fdb\u884c\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5168\u5c40Python\u73af\u5883\u3002\u8fd9\u4f7f\u5f97\u9879\u76ee\u95f4\u7684\u4f9d\u8d56\u7ba1\u7406\u66f4\u52a0\u6e05\u6670\u548c\u72ec\u7acb\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u89e3\u51b3pip\u4f7f\u7528\u4e2d\u7684\u5e38\u89c1\u95ee\u9898<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u7f51\u7edc\u95ee\u9898<\/p>\n<\/p>\n<p><p>\u5728\u56fd\u5185\u4f7f\u7528pip\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e0b\u8f7d\u901f\u5ea6\u6162\u7684\u95ee\u9898\u3002\u8fd9\u65f6\u53ef\u4ee5\u4f7f\u7528\u56fd\u5185\u7684\u955c\u50cf\u6e90\uff0c\u5982\u6e05\u534e\u5927\u5b66\u63d0\u4f9b\u7684\u955c\u50cf\u3002\u901a\u8fc7\u5728\u547d\u4ee4\u4e2d\u52a0\u4e0a<code>-i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/code>\u53ef\u4ee5\u6307\u5b9a\u955c\u50cf\u6e90\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u4f9d\u8d56\u51b2\u7a81<\/p>\n<\/p>\n<p><p>\u5728\u5b89\u88c5\u6216\u66f4\u65b0\u5305\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4f9d\u8d56\u51b2\u7a81\u95ee\u9898\u3002\u8fd9\u65f6\u53ef\u4ee5\u4f7f\u7528<code>pip check<\/code>\u547d\u4ee4\u6765\u68c0\u67e5\u5f53\u524d\u73af\u5883\u4e2d\u7684\u4f9d\u8d56\u51b2\u7a81\uff0c\u5e76\u6839\u636e\u63d0\u793a\u8fdb\u884c\u89e3\u51b3\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>pip\u7248\u672c\u95ee\u9898<\/p>\n<\/p>\n<p><p>\u6709\u65f6pip\u672c\u8eab\u53ef\u80fd\u9700\u8981\u66f4\u65b0\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528<code>python -m pip install --upgrade pip<\/code>\u547d\u4ee4\u6765\u66f4\u65b0pip\u5230\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001PIP\u7684\u9ad8\u7ea7\u529f\u80fd<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u5b89\u88c5\u5f00\u53d1\u7248\u672c<\/p>\n<\/p>\n<p><p>\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u5b89\u88c5\u67d0\u4e2a\u5305\u7684\u5f00\u53d1\u7248\u672c\u3002\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9agit\u4ed3\u5e93\u5730\u5740\u6765\u5b89\u88c5\u5f00\u53d1\u7248\u672c\uff0c\u6bd4\u5982<code>pip install git+https:\/\/github.com\/username\/repository.git<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u672c\u5730\u5305\u5b89\u88c5<\/p>\n<\/p>\n<p><p>\u5728\u5f00\u53d1\u672c\u5730Python\u5305\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip install -e .<\/code>\u547d\u4ee4\u5728\u672c\u5730\u8fdb\u884c\u5b89\u88c5\u548c\u6d4b\u8bd5\u3002\u8fd9\u5c06\u4ee5\u201c\u5f00\u53d1\u6a21\u5f0f\u201d\u5b89\u88c5\u5305\uff0c\u4f7f\u5f97\u5bf9\u6e90\u4ee3\u7801\u7684\u66f4\u6539\u7acb\u5373\u53cd\u6620\u5728\u5305\u4e2d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528pipenv<\/p>\n<\/p>\n<p><p>pipenv\u662f\u4e00\u4e2a\u7ed3\u5408\u4e86pip\u548cvirtualenv\u7684\u5de5\u5177\uff0c\u5b83\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u4f9d\u8d56\u7ba1\u7406\u548c\u73af\u5883\u9694\u79bb\u529f\u80fd\u3002\u901a\u8fc7<code>pip install pipenv<\/code>\u5b89\u88c5\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>pipenv install<\/code>\u6765\u521b\u5efa\u548c\u7ba1\u7406\u9879\u76ee\u7684\u865a\u62df\u73af\u5883\u53ca\u5176\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001PIP\u7684\u5b89\u5168\u6027\u8003\u91cf<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u5b89\u88c5\u6765\u6e90\u7684\u5b89\u5168\u6027<\/p>\n<\/p>\n<p><p>pip\u9ed8\u8ba4\u4ecePyPI\u4e0b\u8f7d\u5305\uff0c\u786e\u4fdd\u53ea\u4ece\u53ef\u4fe1\u7684\u6e90\u5b89\u88c5\u5305\uff0c\u4ee5\u907f\u514d\u6f5c\u5728\u7684\u5b89\u5168\u98ce\u9669\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u54c8\u5e0c\u6821\u9a8c<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u63d0\u9ad8\u5b89\u88c5\u5305\u7684\u5b89\u5168\u6027\uff0c\u53ef\u4ee5\u4f7f\u7528\u54c8\u5e0c\u6821\u9a8c\u3002\u5728requirements.txt\u4e2d\uff0c\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u5305\u6307\u5b9a\u5176\u54c8\u5e0c\u503c\uff0cpip\u5728\u5b89\u88c5\u65f6\u4f1a\u9a8c\u8bc1\u5305\u7684\u5b8c\u6574\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u4e86\u89e3\u5305\u7684\u7ef4\u62a4\u72b6\u6001<\/p>\n<\/p>\n<p><p>\u5728\u9009\u62e9\u4f7f\u7528\u67d0\u4e2a\u5305\u65f6\uff0c\u67e5\u770b\u5176\u7ef4\u62a4\u72b6\u6001\u548c\u793e\u533a\u6d3b\u8dc3\u5ea6\uff0c\u4ee5\u786e\u4fdd\u957f\u671f\u4f7f\u7528\u7684\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u638c\u63e1\u4ee5\u4e0a\u8fd9\u4e9bpip\u7684\u4f7f\u7528\u6280\u5de7\u548c\u6ce8\u610f\u4e8b\u9879\uff0c\u4f60\u5c06\u80fd\u591f\u66f4\u6709\u6548\u5730\u7ba1\u7406Python\u9879\u76ee\u4e2d\u7684\u5305\u4f9d\u8d56\uff0c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u548c\u9879\u76ee\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5b89\u88c5pip\uff1f<\/strong><br \/>\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0cPython\u4f1a\u9ed8\u8ba4\u5b89\u88c5pip\u3002\u5982\u679c\u6ca1\u6709\u5b89\u88c5\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u5b89\u88c5\uff1a\u8bbf\u95eePython\u5b98\u7f51\uff0c\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684Python\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u786e\u4fdd\u9009\u4e2d\u201cAdd Python to PATH\u201d\u9009\u9879\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5728\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165<code>pip --version<\/code>\u4ee5\u786e\u8ba4\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<p><strong>\u4f7f\u7528pip\u5b89\u88c5Python\u5305\u7684\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u4f7f\u7528pip\u5b89\u88c5\u5305\u975e\u5e38\u7b80\u5355\u3002\u5728\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165<code>pip install \u5305\u540d<\/code>\uff0c\u4f8b\u5982<code>pip install requests<\/code>\u3002\u5b89\u88c5\u8fc7\u7a0b\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6307\u5b9a\u7684\u5305\u53ca\u5176\u4f9d\u8d56\u9879\u3002\u8981\u786e\u4fdd\u5b89\u88c5\u6210\u529f\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip show \u5305\u540d<\/code>\u67e5\u770b\u5305\u7684\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n<p><strong>\u5982\u4f55\u66f4\u65b0\u5df2\u5b89\u88c5\u7684Python\u5305\uff1f<\/strong><br \/>\u66f4\u65b0Python\u5305\u540c\u6837\u7b80\u4fbf\u3002\u4f7f\u7528\u547d\u4ee4<code>pip install --upgrade \u5305\u540d<\/code>\u6765\u66f4\u65b0\u7279\u5b9a\u5305\u3002\u4f8b\u5982\uff0c<code>pip install --upgrade numpy<\/code>\u5c06\u4f1a\u66f4\u65b0numpy\u5305\u5230\u6700\u65b0\u7248\u672c\u3002\u5982\u679c\u5e0c\u671b\u4e00\u6b21\u6027\u66f4\u65b0\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5305\uff0c\u53ef\u4ee5\u5148\u4f7f\u7528<code>pip list --outdated<\/code>\u547d\u4ee4\u67e5\u770b\u6240\u6709\u8fc7\u671f\u7684\u5305\uff0c\u7136\u540e\u9010\u4e00\u66f4\u65b0\u6216\u4f7f\u7528\u811a\u672c\u6279\u91cf\u66f4\u65b0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0cpip\u662f\u4e00\u4e2a\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u7528\u4e8e\u5b89\u88c5\u3001\u66f4\u65b0\u548c\u5378\u8f7dPython\u5305\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6765\u6267\u884c\u8fd9\u4e9b\u64cd\u4f5c\uff0c [&hellip;]","protected":false},"author":3,"featured_media":990311,"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\/990303"}],"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=990303"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/990303\/revisions"}],"predecessor-version":[{"id":990313,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/990303\/revisions\/990313"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/990311"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=990303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=990303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=990303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}