{"id":1107280,"date":"2025-01-08T16:48:10","date_gmt":"2025-01-08T08:48:10","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1107280.html"},"modified":"2025-01-08T16:48:12","modified_gmt":"2025-01-08T08:48:12","slug":"python%e5%a6%82%e4%bd%95%e5%8d%87%e7%ba%a7%e7%ac%ac%e4%b8%89%e6%96%b9%e5%ba%93","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1107280.html","title":{"rendered":"python\u5982\u4f55\u5347\u7ea7\u7b2c\u4e09\u65b9\u5e93"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25071402\/af7a7bc9-b596-4c16-b45f-17c78a408772.webp\" alt=\"python\u5982\u4f55\u5347\u7ea7\u7b2c\u4e09\u65b9\u5e93\" \/><\/p>\n<p><p> <strong>\u8981\u5347\u7ea7Python\u7684\u7b2c\u4e09\u65b9\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528pip\u3001\u4f7f\u7528conda\u3001\u624b\u52a8\u5b89\u88c5\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5176\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528pip\u8fdb\u884c\u5347\u7ea7\u3002\u4e0b\u9762\u8be6\u7ec6\u89e3\u91ca\u5982\u4f55\u4f7f\u7528pip\u6765\u5347\u7ea7\u7b2c\u4e09\u65b9\u5e93\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528pip\u5347\u7ea7\u7b2c\u4e09\u65b9\u5e93<\/h3>\n<\/p>\n<p><p>pip\u662fPython\u5305\u7ba1\u7406\u7cfb\u7edf\uff0c\u53ef\u4ee5\u7528\u6765\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528pip\u5347\u7ea7\u5355\u4e2a\u5e93<\/h4>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u5347\u7ea7\u5355\u4e2a\u5e93\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-shell\">pip install --upgrade \u5305\u540d<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u8981\u5347\u7ea7<code>requests<\/code>\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip install --upgrade requests<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong> \u8fd9\u4e2a\u547d\u4ee4\u4f1a\u4ecePython Package Index (PyPI) \u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684<code>requests<\/code>\u5e93\uff0c\u66ff\u6362\u6389\u73b0\u6709\u7684\u65e7\u7248\u672c\u3002pip\u4f1a\u81ea\u52a8\u5904\u7406\u4f9d\u8d56\u5173\u7cfb\uff0c\u786e\u4fdd\u6240\u6709\u4f9d\u8d56\u5e93\u4e5f\u88ab\u5347\u7ea7\u5230\u517c\u5bb9\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528pip\u5347\u7ea7\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5e93<\/h4>\n<\/p>\n<ol>\n<li>\u9996\u5148\uff0c\u751f\u6210\u4e00\u4e2a\u5305\u542b\u6240\u6709\u5df2\u5b89\u88c5\u5e93\u7684\u6587\u4ef6\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-shell\">pip freeze &gt; requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u7136\u540e\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5347\u7ea7\u6240\u6709\u5e93\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-shell\">pip install --upgrade -r requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6837\uff0cpip\u4f1a\u8bfb\u53d6<code>requirements.txt<\/code>\u6587\u4ef6\u4e2d\u7684\u6240\u6709\u5e93\uff0c\u5e76\u9010\u4e2a\u5347\u7ea7\u5b83\u4eec\u5230\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528conda\u5347\u7ea7\u7b2c\u4e09\u65b9\u5e93<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662fAnaconda\u6216Miniconda\uff0c\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528conda\u6765\u5347\u7ea7\u7b2c\u4e09\u65b9\u5e93\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528conda\u5347\u7ea7\u5355\u4e2a\u5e93<\/h4>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u5347\u7ea7\u5355\u4e2a\u5e93\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-shell\">conda update \u5305\u540d<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u8981\u5347\u7ea7<code>numpy<\/code>\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">conda update numpy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4f7f\u7528conda\u5347\u7ea7\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5e93<\/h4>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u5347\u7ea7\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5e93\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-shell\">conda update --all<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u624b\u52a8\u5b89\u88c5\u5347\u7ea7\u7b2c\u4e09\u65b9\u5e93<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u7279\u5b9a\u7684\u5e93\u5728PyPI\u6216conda\u4ed3\u5e93\u4e2d\u6ca1\u6709\u6700\u65b0\u7248\u672c\uff0c\u4e5f\u53ef\u4ee5\u624b\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/p>\n<\/p>\n<ol>\n<li>\u8bbf\u95ee\u5e93\u7684\u5b98\u65b9\u4e3b\u9875\u6216GitHub\u9875\u9762\uff0c\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684\u6e90\u4ee3\u7801\u5305\u3002<\/li>\n<li>\u89e3\u538b\u4e0b\u8f7d\u7684\u5305\uff0c\u8fdb\u5165\u5305\u7684\u76ee\u5f55\u3002<\/li>\n<li>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u5e93\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-shell\">python setup.py install<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u4f7f\u7528pip\u4ece\u672c\u5730\u6587\u4ef6\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip install \u8def\u5f84\/\u5305\u540d<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5347\u7ea7\u5e93\u7684\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><h4>1. \u68c0\u67e5\u4f9d\u8d56\u5173\u7cfb<\/h4>\n<\/p>\n<p><p>\u5347\u7ea7\u5e93\u65f6\uff0c\u8981\u7279\u522b\u6ce8\u610f\u4f9d\u8d56\u5173\u7cfb\u3002\u67d0\u4e9b\u5e93\u5347\u7ea7\u540e\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4f9d\u8d56\u7684\u5176\u4ed6\u5e93\u4e0d\u517c\u5bb9\u3002\u56e0\u6b64\uff0c\u5728\u5347\u7ea7\u524d\u53ef\u4ee5\u4f7f\u7528<code>pipdeptree<\/code>\u5de5\u5177\u6765\u67e5\u770b\u5f53\u524d\u5b89\u88c5\u5e93\u7684\u4f9d\u8d56\u5173\u7cfb\u6811\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip install pipdeptree<\/p>\n<p>pipdeptree<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u5347\u7ea7\u4e0d\u4f1a\u7834\u574f\u73b0\u6709\u7684\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u865a\u62df\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u907f\u514d\u5f71\u54cd\u5168\u5c40Python\u73af\u5883\uff0c\u5efa\u8bae\u5728\u865a\u62df\u73af\u5883\u4e2d\u8fdb\u884c\u5e93\u7684\u5347\u7ea7\u548c\u5b89\u88c5\u3002\u53ef\u4ee5\u4f7f\u7528<code>virtualenv<\/code>\u6216<code>venv<\/code>\u6765\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\"># \u521b\u5efa\u865a\u62df\u73af\u5883<\/p>\n<p>python -m venv myenv<\/p>\n<h2><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/strong><\/h2>\n<h2><strong>Windows:<\/strong><\/h2>\n<p>myenv\\Scripts\\activate<\/p>\n<h2><strong>macOS\u548cLinux:<\/strong><\/h2>\n<p>source myenv\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u865a\u62df\u73af\u5883\u4e2d\uff0c\u6240\u6709\u7684\u5e93\u5b89\u88c5\u548c\u5347\u7ea7\u64cd\u4f5c\u90fd\u4e0d\u4f1a\u5f71\u54cd\u5168\u5c40Python\u73af\u5883\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u68c0\u67e5\u5347\u7ea7\u540e\u7684\u7248\u672c<\/h3>\n<\/p>\n<p><p>\u5347\u7ea7\u5e93\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u5e93\u7684\u7248\u672c\uff0c\u786e\u4fdd\u5347\u7ea7\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip show \u5305\u540d<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u67e5\u770b<code>requests<\/code>\u5e93\u7684\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip show requests<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u6240\u6709\u5df2\u5b89\u88c5\u5e93\u7684\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip list<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6cd5<\/h3>\n<\/p>\n<p><h4>1. \u7f51\u7edc\u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u7f51\u7edc\u95ee\u9898\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5e93\u5347\u7ea7\u5931\u8d25\u3002\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u56fd\u5185\u7684\u955c\u50cf\u6e90\u6765\u52a0\u901f\u4e0b\u8f7d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip install --upgrade \u5305\u540d -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u6743\u9650\u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u53ef\u80fd\u9700\u8981\u7ba1\u7406\u5458\u6743\u9650\u624d\u80fd\u5347\u7ea7\u5168\u5c40\u73af\u5883\u4e2d\u7684\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528<code>sudo<\/code>\u547d\u4ee4\uff08\u4ec5\u9650Linux\u548cmacOS\uff09\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">sudo pip install --upgrade \u5305\u540d<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u4f7f\u7528<code>--user<\/code>\u9009\u9879\u5728\u7528\u6237\u7ea7\u522b\u5b89\u88c5\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip install --upgrade \u5305\u540d --user<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u7248\u672c\u51b2\u7a81<\/h4>\n<\/p>\n<p><p>\u6709\u65f6\uff0c\u5347\u7ea7\u5e93\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7248\u672c\u51b2\u7a81\uff0c\u5bfc\u81f4\u7a0b\u5e8f\u65e0\u6cd5\u6b63\u5e38\u8fd0\u884c\u3002\u53ef\u4ee5\u4f7f\u7528<code>pip check<\/code>\u547d\u4ee4\u6765\u68c0\u67e5\u662f\u5426\u5b58\u5728\u7248\u672c\u51b2\u7a81\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip check<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u5b58\u5728\u51b2\u7a81\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u964d\u7ea7\u67d0\u4e9b\u5e93\uff0c\u6216\u8005\u67e5\u627e\u517c\u5bb9\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5347\u7ea7Python\u7b2c\u4e09\u65b9\u5e93\u662f\u4fdd\u6301\u9879\u76ee\u4f9d\u8d56\u6700\u65b0\u548c\u5b89\u5168\u7684\u91cd\u8981\u6b65\u9aa4\u3002\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528pip\u8fdb\u884c\u5347\u7ea7\uff0c\u4f46\u5728\u4f7f\u7528Anaconda\u6216Miniconda\u65f6\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528conda\u6765\u5347\u7ea7\u5e93\u3002\u624b\u52a8\u5b89\u88c5\u5347\u7ea7\u5e93\u9002\u7528\u4e8e\u7279\u5b9a\u60c5\u51b5\u3002\u65e0\u8bba\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u8981\u6ce8\u610f\u4f9d\u8d56\u5173\u7cfb\uff0c\u786e\u4fdd\u5347\u7ea7\u4e0d\u4f1a\u5f71\u54cd\u9879\u76ee\u7684\u6b63\u5e38\u8fd0\u884c\u3002\u5728\u8fdb\u884c\u5e93\u5347\u7ea7\u65f6\uff0c\u5efa\u8bae\u4f7f\u7528\u865a\u62df\u73af\u5883\uff0c\u4ee5\u907f\u514d\u5bf9\u5168\u5c40Python\u73af\u5883\u9020\u6210\u5f71\u54cd\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\u548c\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u6709\u6548\u5730\u7ba1\u7406\u548c\u5347\u7ea7Python\u9879\u76ee\u4e2d\u7684\u7b2c\u4e09\u65b9\u5e93\uff0c\u786e\u4fdd\u9879\u76ee\u8fd0\u884c\u5728\u6700\u65b0\u548c\u6700\u7a33\u5b9a\u7684\u73af\u5883\u4e2d\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u68c0\u67e5\u5f53\u524d\u5df2\u5b89\u88c5\u7684\u7b2c\u4e09\u65b9\u5e93\u7248\u672c\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4<code>pip list<\/code>\u6765\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u4e2d\u5b89\u88c5\u7684\u6240\u6709\u7b2c\u4e09\u65b9\u5e93\u53ca\u5176\u7248\u672c\u53f7\u3002\u5982\u679c\u60a8\u53ea\u60f3\u67e5\u770b\u7279\u5b9a\u5e93\u7684\u7248\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4<code>pip show \u5e93\u540d<\/code>\uff0c\u8fd9\u6837\u53ef\u4ee5\u83b7\u53d6\u8be5\u5e93\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5305\u62ec\u7248\u672c\u3002<\/p>\n<p><strong>\u5728\u5347\u7ea7\u7b2c\u4e09\u65b9\u5e93\u4e4b\u524d\uff0c\u6709\u4ec0\u4e48\u5efa\u8bae\u7684\u51c6\u5907\u6b65\u9aa4\u5417\uff1f<\/strong><br \/>\u5728\u5347\u7ea7\u7b2c\u4e09\u65b9\u5e93\u4e4b\u524d\uff0c\u5efa\u8bae\u60a8\u5148\u5907\u4efd\u5f53\u524d\u7684\u9879\u76ee\u73af\u5883\uff0c\u7279\u522b\u662f\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528<code>pip freeze &gt; requirements.txt<\/code>\u547d\u4ee4\u5bfc\u51fa\u5f53\u524d\u5df2\u5b89\u88c5\u5e93\u7684\u7248\u672c\u5217\u8868\uff0c\u4ee5\u4fbf\u5728\u9700\u8981\u65f6\u6062\u590d\u3002\u6b64\u5916\uff0c\u67e5\u770b\u5e93\u7684\u66f4\u65b0\u65e5\u5fd7\u4e5f\u662f\u660e\u667a\u4e4b\u4e3e\uff0c\u4ee5\u4e86\u89e3\u65b0\u7248\u672c\u7684\u53d8\u5316\u548c\u6f5c\u5728\u7684\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n<p><strong>\u5982\u679c\u5728\u5347\u7ea7\u5e93\u65f6\u9047\u5230\u9519\u8bef\uff0c\u5e94\u8be5\u5982\u4f55\u89e3\u51b3\uff1f<\/strong><br \/>\u5982\u679c\u5728\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u9519\u8bef\uff0c\u9996\u5148\u5efa\u8bae\u68c0\u67e5\u9519\u8bef\u4fe1\u606f\u5e76\u786e\u5b9a\u662f\u54ea\u4e2a\u5e93\u51fa\u73b0\u4e86\u95ee\u9898\u3002\u60a8\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528<code>pip install --upgrade --force-reinstall \u5e93\u540d<\/code>\u547d\u4ee4\u5f3a\u5236\u91cd\u65b0\u5b89\u88c5\u8be5\u5e93\u3002\u5982\u679c\u95ee\u9898\u4f9d\u7136\u5b58\u5728\uff0c\u67e5\u770b\u76f8\u5173\u5e93\u7684GitHub\u9875\u9762\u6216\u6587\u6863\uff0c\u4e86\u89e3\u662f\u5426\u6709\u5df2\u77e5\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848\uff0c\u6216\u8005\u60a8\u53ef\u4ee5\u8003\u8651\u5728\u865a\u62df\u73af\u5883\u4e2d\u6d4b\u8bd5\u5347\u7ea7\u8fc7\u7a0b\uff0c\u4ee5\u907f\u514d\u5f71\u54cd\u5230\u4e3b\u73af\u5883\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5347\u7ea7Python\u7684\u7b2c\u4e09\u65b9\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528pip\u3001\u4f7f\u7528conda\u3001\u624b\u52a8\u5b89\u88c5\u3002 \u5176\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f [&hellip;]","protected":false},"author":3,"featured_media":1107288,"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\/1107280"}],"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=1107280"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1107280\/revisions"}],"predecessor-version":[{"id":1107290,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1107280\/revisions\/1107290"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1107288"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1107280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1107280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1107280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}