{"id":921880,"date":"2024-12-26T14:22:14","date_gmt":"2024-12-26T06:22:14","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/921880.html"},"modified":"2024-12-26T14:22:16","modified_gmt":"2024-12-26T06:22:16","slug":"python%e5%8c%85%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/921880.html","title":{"rendered":"python\u5305\u5982\u4f55\u5b89\u88c5"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24210636\/6b52b371-1081-4c6b-9768-8f4f860972fc.webp\" alt=\"python\u5305\u5982\u4f55\u5b89\u88c5\" \/><\/p>\n<p><p> \u4e00\u3001\u5982\u4f55\u5b89\u88c5Python\u5305<\/p>\n<\/p>\n<p><p>\u5b89\u88c5Python\u5305\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7<strong>pip\u5de5\u5177\u3001\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5\u3001\u4f7f\u7528Python\u865a\u62df\u73af\u5883<\/strong>\u7b49\u65b9\u5f0f\u8fdb\u884c\u3002<strong>pip\u5de5\u5177<\/strong>\u662f\u6700\u5e38\u7528\u7684\u65b9\u5f0f\uff0c\u5b83\u53ef\u4ee5\u81ea\u52a8\u4ecePython\u5305\u7d22\u5f15\uff08PyPI\uff09\u4e0b\u8f7d\u5e76\u5b89\u88c5\u5305\u3002<strong>\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5<\/strong>\u53ef\u4ee5\u8ba9\u7528\u6237\u5bf9\u5305\u8fdb\u884c\u5b9a\u5236\u3002<strong>Python\u865a\u62df\u73af\u5883<\/strong>\u5219\u53ef\u4ee5\u907f\u514d\u5305\u4e4b\u95f4\u7684\u7248\u672c\u51b2\u7a81\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u4f1a\u8be6\u7ec6\u8ba8\u8bba\u6bcf\u4e00\u79cd\u5b89\u88c5\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528pip\u5de5\u5177\u5b89\u88c5<\/p>\n<\/p>\n<p><p>pip\u662fPython\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u51e0\u4e4e\u6240\u6709\u7684Python\u5305\u90fd\u53ef\u4ee5\u901a\u8fc7pip\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u7840\u4f7f\u7528<\/strong><\/p>\n<\/p>\n<p><p>\u8981\u5b89\u88c5Python\u5305\uff0c\u6700\u7b80\u5355\u7684\u547d\u4ee4\u662f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install package_name<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u91cc<code>package_name<\/code>\u662f\u4f60\u8981\u5b89\u88c5\u7684\u5305\u7684\u540d\u79f0\u3002pip\u4f1a\u4ecePyPI\uff08Python Package Index\uff09\u4e0a\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6307\u5b9a\u7248\u672c\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684\u5305\uff0c\u53ef\u4ee5\u4f7f\u7528<code>==<\/code>\u7b26\u53f7\u6307\u5b9a\u7248\u672c\u53f7\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install package_name==1.0.0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u5b89\u88c5\u7684\u5305\u7248\u672c\u662f\u6240\u9700\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5347\u7ea7\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u5347\u7ea7\u5df2\u5b89\u88c5\u7684\u5305\u4e5f\u5f88\u7b80\u5355\uff0c\u53ea\u9700\u52a0\u4e0a<code>--upgrade<\/code>\u53c2\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install --upgrade package_name<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u628a\u5305\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u591a\u4e2a\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u4e00\u6b21\u6027\u5b89\u88c5\u591a\u4e2a\u5305\uff0c\u53ef\u4ee5\u5728\u4e00\u4e2a\u547d\u4ee4\u4e2d\u5217\u51fa\u5b83\u4eec\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install package1 package2 package3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4ecerequirements\u6587\u4ef6\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u9879\u76ee\u4e2d\uff0c\u901a\u5e38\u4f1a\u7528\u4e00\u4e2a<code>requirements.txt<\/code>\u6587\u4ef6\u5217\u51fa\u6240\u6709\u4f9d\u8d56\u5305\u53ca\u5176\u7248\u672c\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install -r requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u975e\u5e38\u9002\u5408\u56e2\u961f\u534f\u4f5c\u65f6\u4fdd\u6301\u5f00\u53d1\u73af\u5883\u7684\u4e00\u81f4\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5<\/p>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u5305\u5728PyPI\u4e0a\u6ca1\u6709\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff0c\u6216\u8005\u9700\u8981\u5bf9\u5305\u8fdb\u884c\u5b9a\u5236\uff0c\u8fd9\u65f6\u53ef\u4ee5\u9009\u62e9\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7d\u6e90\u4ee3\u7801<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4ece\u5f00\u53d1\u8005\u7684\u7f51\u7ad9\u6216\u8005\u6e90\u7801\u7ba1\u7406\u5e73\u53f0\uff08\u5982GitHub\uff09\u4e0b\u8f7d\u6e90\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u5b89\u88c5\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u5e38\uff0c\u6e90\u4ee3\u7801\u4e2d\u4f1a\u5305\u542b\u4e00\u4e2a<code>setup.py<\/code>\u6587\u4ef6\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python setup.py install<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4f1a\u5c06\u5305\u5b89\u88c5\u5230Python\u7684\u7ad9\u70b9\u5305\u76ee\u5f55\u4e2d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5f00\u53d1\u6a21\u5f0f\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u6b63\u5728\u5f00\u53d1\u6216\u8c03\u8bd5\u5305\uff0c\u53ef\u4ee5\u4f7f\u7528\u5f00\u53d1\u6a21\u5f0f\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python setup.py develop<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u5b89\u88c5\u7684\u5305\u662f\u5f15\u7528\u6e90\u76ee\u5f55\u7684\uff0c\u56e0\u6b64\u4fee\u6539\u6e90\u4ee3\u7801\u4f1a\u7acb\u5373\u751f\u6548\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528Python\u865a\u62df\u73af\u5883<\/p>\n<\/p>\n<p><p>Python\u865a\u62df\u73af\u5883\u53ef\u4ee5\u4e3a\u4e0d\u540c\u7684\u9879\u76ee\u521b\u5efa\u72ec\u7acb\u7684Python\u73af\u5883\uff0c\u4ee5\u907f\u514d\u5305\u7684\u7248\u672c\u51b2\u7a81\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>venv<\/code>\u6a21\u5757\u53ef\u4ee5\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python -m venv myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4f1a\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>myenv<\/code>\u7684\u76ee\u5f55\uff0c\u5176\u4e2d\u5305\u542b\u72ec\u7acb\u7684Python\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u5728Windows\u4e0a\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6fc0\u6d3b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">myenv\\Scripts\\activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728Unix\u6216MacOS\u4e0a\uff0c\u4f7f\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">source myenv\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\u540e\uff0c\u5b89\u88c5\u5305\u65f6\u4f1a\u5b89\u88c5\u5230\u8fd9\u4e2a\u73af\u5883\u4e2d\uff0c\u800c\u4e0d\u4f1a\u5f71\u54cd\u5168\u5c40Python\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9000\u51fa\u865a\u62df\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u53ef\u4ee5\u9000\u51fa\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">deactivate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848<\/p>\n<\/p>\n<p><p>\u5728\u5b89\u88c5Python\u5305\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u5404\u79cd\u95ee\u9898\uff0c\u5982\u7f51\u7edc\u95ee\u9898\u3001\u6743\u9650\u95ee\u9898\u3001\u5305\u4f9d\u8d56\u51b2\u7a81\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7f51\u7edc\u95ee\u9898<\/strong><\/p>\n<\/p>\n<p><p>\u6709\u65f6\u5019\u7531\u4e8e\u7f51\u7edc\u539f\u56e0\uff0cpip\u53ef\u80fd\u65e0\u6cd5\u8fde\u63a5\u5230PyPI\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u66f4\u6362\u56fd\u5185\u955c\u50cf\u6e90\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install package_name -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6743\u9650\u95ee\u9898<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u6ca1\u6709\u6743\u9650\u5728\u5168\u5c40Python\u73af\u5883\u4e2d\u5b89\u88c5\u5305\uff0c\u53ef\u4ee5\u4f7f\u7528<code>--user<\/code>\u53c2\u6570\u5b89\u88c5\u5230\u7528\u6237\u76ee\u5f55\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install package_name --user<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5305\u4f9d\u8d56\u51b2\u7a81<\/strong><\/p>\n<\/p>\n<p><p>\u5f53\u4e0d\u540c\u7684\u5305\u9700\u8981\u4e0d\u540c\u7248\u672c\u7684\u540c\u4e00\u4f9d\u8d56\u5305\u65f6\uff0c\u53ef\u80fd\u4f1a\u53d1\u751f\u51b2\u7a81\u3002\u4f7f\u7528\u865a\u62df\u73af\u5883\u53ef\u4ee5\u6709\u6548\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><p>\u53e6\u5916\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip check<\/code>\u547d\u4ee4\u68c0\u67e5\u4f9d\u8d56\u5173\u7cfb\u662f\u5426\u6709\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u4f7f\u7528conda\u5b89\u88c5\u5305<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u4f7f\u7528Anaconda\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u4f7f\u7528<code>conda<\/code>\u547d\u4ee4\u5b89\u88c5\u5305\uff0c\u8fd9\u662f\u4e00\u4e2a\u66f4\u5f3a\u5927\u7684\u5305\u7ba1\u7406\u5de5\u5177\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda install package_name<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>conda\u4f1a\u81ea\u52a8\u5904\u7406\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u5e76\u5c3d\u91cf\u907f\u514d\u51b2\u7a81\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u548c\u4f7f\u7528\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>conda\u4e5f\u652f\u6301\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda create -n myenv python=3.8<\/p>\n<p>conda activate myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528conda\u73af\u5883\u53ef\u4ee5\u63d0\u4f9b\u66f4\u597d\u7684\u5305\u7ba1\u7406\u548c\u73af\u5883\u9694\u79bb\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e03\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0c\u5b89\u88c5Python\u5305\u6709\u591a\u79cd\u65b9\u5f0f\uff0c<strong>pip\u5de5\u5177<\/strong>\u662f\u6700\u5e38\u7528\u7684\u9009\u62e9\uff0c<strong>\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5<\/strong>\u548c\u4f7f\u7528<strong>Python\u865a\u62df\u73af\u5883<\/strong>\u5219\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u7075\u6d3b\u6027\u3002\u4e86\u89e3\u548c\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u7ba1\u7406\u9879\u76ee\u7684\u4f9d\u8d56\u5173\u7cfb\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u5f0f\uff0c\u4e0d\u4ec5\u80fd\u8f7b\u677e\u89e3\u51b3\u5305\u7684\u5b89\u88c5\u95ee\u9898\uff0c\u8fd8\u80fd\u66f4\u597d\u5730\u7ef4\u62a4Python\u9879\u76ee\u7684\u7a33\u5b9a\u6027\u548c\u53ef\u79fb\u690d\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b89\u88c5\u5305\uff1f<\/strong><br \/>\u5728Python\u4e2d\u5b89\u88c5\u5305\u901a\u5e38\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177pip\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u8f93\u5165<code>pip install \u5305\u540d<\/code>\u6765\u5b89\u88c5\u6240\u9700\u7684\u5305\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u60f3\u5b89\u88c5NumPy\u5e93\uff0c\u53ef\u4ee5\u8f93\u5165<code>pip install numpy<\/code>\u3002\u786e\u4fdd\u60a8\u7684Python\u73af\u5883\u5df2\u6b63\u786e\u914d\u7f6e\u5e76\u4e14pip\u5df2\u6210\u529f\u5b89\u88c5\u3002<\/p>\n<p><strong>\u5728\u5b89\u88c5Python\u5305\u65f6\u4f1a\u9047\u5230\u4ec0\u4e48\u5e38\u89c1\u95ee\u9898\uff1f<\/strong><br \/>\u5728\u5b89\u88c5Python\u5305\u65f6\uff0c\u7528\u6237\u53ef\u80fd\u4f1a\u9047\u5230\u7248\u672c\u51b2\u7a81\u3001\u4f9d\u8d56\u95ee\u9898\u6216\u7f51\u7edc\u8fde\u63a5\u9519\u8bef\u7b49\u5e38\u89c1\u95ee\u9898\u3002\u5982\u679c\u51fa\u73b0\u7248\u672c\u51b2\u7a81\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u865a\u62df\u73af\u5883\u6765\u9694\u79bb\u4e0d\u540c\u9879\u76ee\u7684\u4f9d\u8d56\u3002\u5bf9\u4e8e\u4f9d\u8d56\u95ee\u9898\uff0c\u786e\u4fdd\u60a8\u5b89\u88c5\u7684\u5305\u53ca\u5176\u4f9d\u8d56\u9879\u7684\u7248\u672c\u517c\u5bb9\u3002\u800c\u7f51\u7edc\u95ee\u9898\u5219\u53ef\u80fd\u9700\u8981\u68c0\u67e5\u60a8\u7684\u7f51\u7edc\u8fde\u63a5\u6216\u4f7f\u7528\u4ee3\u7406\u3002<\/p>\n<p><strong>\u5982\u4f55\u7ba1\u7406\u5df2\u5b89\u88c5\u7684Python\u5305\uff1f<\/strong><br \/>\u7ba1\u7406\u5df2\u5b89\u88c5\u7684Python\u5305\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u5b8c\u6210\u3002\u4f7f\u7528<code>pip list<\/code>\u53ef\u4ee5\u67e5\u770b\u5df2\u5b89\u88c5\u7684\u6240\u6709\u5305\u53ca\u5176\u7248\u672c\u3002\u5982\u679c\u9700\u8981\u66f4\u65b0\u67d0\u4e2a\u5305\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip install --upgrade \u5305\u540d<\/code>\u547d\u4ee4\u3002\u800c\u8981\u5378\u8f7d\u4e0d\u518d\u9700\u8981\u7684\u5305\uff0c\u4f7f\u7528<code>pip uninstall \u5305\u540d<\/code>\u5373\u53ef\u3002\u8fd9\u4e9b\u64cd\u4f5c\u6709\u52a9\u4e8e\u4fdd\u6301\u60a8\u7684Python\u73af\u5883\u6574\u6d01\u6709\u5e8f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4e00\u3001\u5982\u4f55\u5b89\u88c5Python\u5305 \u5b89\u88c5Python\u5305\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7pip\u5de5\u5177\u3001\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5\u3001\u4f7f\u7528Python\u865a\u62df\u73af\u5883\u7b49 [&hellip;]","protected":false},"author":3,"featured_media":921882,"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\/921880"}],"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=921880"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/921880\/revisions"}],"predecessor-version":[{"id":921885,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/921880\/revisions\/921885"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/921882"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=921880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=921880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=921880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}