{"id":42934,"date":"2020-10-13T23:49:16","date_gmt":"2020-10-13T15:49:16","guid":{"rendered":"http:\/\/www.zhushiyao.com\/?p=42934"},"modified":"2020-10-13T23:49:57","modified_gmt":"2020-10-13T15:49:57","slug":"be9296e4bf","status":"publish","type":"post","link":"http:\/\/www.zhushiyao.com\/?p=42934","title":{"rendered":"\u6700\u5168\u7684 pip \u4f7f\u7528\u6307\u5357\uff0c50% \u4f60\u53ef\u80fd\u6ca1\u7528\u8fc7"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<blockquote style=\"white-space: normal; font-variant-ligatures: normal; orphans: 2; widows: 2;\">\n<p><span style=\"font-size: 14px;\">\u6765\u6e90\uff1aPython\u7f16\u7a0b\u65f6\u5149<\/span><\/p>\n<\/blockquote>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">\u6240\u6709\u7684 Python \u5f00\u53d1\u8005\u90fd\u6e05\u695a\uff0cPython \u4e4b\u6240\u4ee5\u5982\u6b64\u53d7\u6b22\u8fce\uff0c\u80fd\u591f\u5728\u4f17\u591a\u9ad8\u7ea7\u8bed\u8a00\u4e2d\uff0c\u8131\u9896\u800c\u51fa\uff0c\u9664\u4e86\u8bed\u6cd5\u7b80\u5355\uff0c\u4e0a\u624b\u5bb9\u6613\u4e4b\u5916\uff0c\u66f4\u591a\u8fd8\u8981\u5f52\u529f\u4e8e Python \u751f\u6001\u7684\u5b8c\u5907\uff0c\u6709\u6570\u4ee5\u4e07\u8ba1\u7684 Python \u7231\u597d\u8005\u613f\u610f\u4ee5 Python \u4e3a\u57fa\u7840\u5c01\u88c5\u51fa\u5404\u79cd\u6709\u5229\u4e8e\u5f00\u53d1\u7684\u7b2c\u4e09\u65b9\u5de5\u5177\u5305\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">\u8fd9\u624d\u4f7f\u7528\u6211\u4eec\u80fd\u591f\u4ee5\u6700\u5feb\u7684\u901f\u5ea6\u5f00\u53d1\u51fa\u4e00\u4e2a\u6ee1\u8db3\u57fa\u672c\u9700\u8981\u7684\u9879\u76ee\uff0c\u800c\u4e0d\u662f\u6bcf\u6b21\u90fd\u91cd\u590d\u9020\u8f6e\u5b50\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">Python \u4ece1991\u5e74\u8bde\u751f\u5230\u73b0\u5728\uff0c\u5df2\u7ecf\u8fc7\u53bb28\u4e2a\u5e74\u5934\u4e86\uff0c\u8fd9\u5176\u95f4\u4ea7\u751f\u4e86\u6570\u4ee5\u4e07\u8ba1\u7684\u7b2c\u4e09\u65b9\u5305\uff0c\u4e14\u6bcf\u4e2a\u5305\u90fd\u4f1a\u4e0d\u65ad\u66f4\u65b0\uff0c\u4f1a\u6709\u8d8a\u6765\u8d8a\u591a\u7684\u7248\u672c\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">\u5f53\u4f60\u5728\u4e00\u4e2a\u590d\u6742\u7684\u9879\u76ee\u73af\u5883\u4e2d\uff0c\u5982\u679c\u6ca1\u6709\u4e00\u4e2a\u6709\u6548\u7684\u4f9d\u8d56\u5305\u7ba1\u7406\u65b9\u6848\uff0c\u9879\u76ee\u7684\u7ef4\u62a4\u5c06\u4f1a\u662f\u4e00\u4e2a\u5927\u95ee\u9898\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">pip \u662f\u5b98\u65b9\u63a8\u8350\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u5728\u5927\u591a\u6570\u5f00\u53d1\u8005\u624b\u91cc\uff0cpip \u51e0\u4e4e\u662f Python \u7684\u6807\u914d\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">\u5f53\u7136\u4e5f\u6709\u5176\u4ed6\u7684\u5305\u7ba1\u7406\u5de5\u5177<\/span><\/p>\n<p style=\"padding-left: 1em; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; list-style: circle; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px; margin: 0.5em 8px; max-width: 100%; box-sizing: border-box; line-height: 1.75; text-indent: -1em; display: block; overflow-wrap: break-word !important;\"><span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span><strong style=\"max-width: 100%; box-sizing: border-box; color: #ff5f2e; line-height: 1.75; overflow-wrap: break-word !important;\">distutils<\/strong>\uff1a\u4ec5\u7528\u4e8e\u6253\u5305\u548c\u5b89\u88c5\uff0c\u4e25\u683c\u6765\u8bb2\u4e0d\u7b97\u662f\u5305\u7ba1\u7406\u5de5\u5177<span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span><strong style=\"max-width: 100%; box-sizing: border-box; color: #ff5f2e; line-height: 1.75; overflow-wrap: break-word !important;\">setuptools<\/strong>\uff1adistutils\u7684\u589e\u5f3a\u7248\uff0c\u6269\u5c55\u4e86distutils\uff0c\u63d0\u4f9b\u66f4\u591a\u7684\u529f\u80fd\uff0c\u5f15\u5165\u5305\u4f9d\u8d56\u7684\u7ba1\u7406\uff0ceasy_install\u5c31\u662f\u5b83\u7684\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u5f15\u5165\u4e86 egg \u7684\u6587\u4ef6\u683c\u5f0f\u3002<span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span><strong style=\"max-width: 100%; box-sizing: border-box; color: #ff5f2e; line-height: 1.75; overflow-wrap: break-word !important;\">Pipenv<\/strong>\uff1a\u4e00\u4e2a\u96c6\u4f9d\u8d56\u5305\u7ba1\u7406\uff08pip\uff09\u53ca\u865a\u62df\u73af\u5883\u7ba1\u7406\uff08virtualenv\uff09\u7684\u5de5\u5177<span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span>\u8fd8\u6709\u5176\u4ed6\u7684\uff0c\u8fd9\u91cc\u4e0d\u4e00\u4e00\u5217\u51fa\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">\u4eca\u5929\u7684\u4e3b\u89d2\u662f pip \uff0c\u5927\u5bb6\u80af\u5b9a\u4e0d\u4f1a\u964c\u751f\u3002\u4f46\u6211\u76f8\u4fe1\u4e0d\u5c11\u4eba\uff0c\u53ea\u662f\u719f\u6089\u5176\u4e2d\u51e0\u4e2a\u5e38\u7528\u7684\u7528\u6cd5\uff0c\u800c\u5bf9\u4e8e\u5176\u4ed6\u51e0\u4e2a\u4f4e\u9891\u4e14\u5b9e\u7528\u7684\u7528\u6cd5\uff0c\u5374\u77e5\u4e4b\u751a\u5c11\uff0c\u8fd9\u4e24\u5929\uff0c\u6211\u67e5\u9605\u5b98\u65b9\u6587\u6863\uff0c\u628a\u8fd9\u4e9b\u7528\u6cd5\u6574\u7406\u4e86\u4e00\u4e0b\uff0c\u5e94\u8be5\u662f\u7f51\u7edc\u4e0a\u6bd4\u8f83\u5168\u7684\u4ecb\u7ecd\u3002<\/span><\/p>\n<h2><span style=\"font-size: 15px;\"><span style=\"color: #ff0000;\"><strong>1. \u67e5\u8be2\u8f6f\u4ef6\u5305<\/strong><\/span><\/span><\/h2>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">\u67e5\u8be2\u5f53\u524d\u73af\u5883\u5b89\u88c5\u7684\u6240\u6709\u8f6f\u4ef6\u5305<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> pip list<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">\u67e5\u8be2 pypi \u4e0a\u542b\u6709\u67d0\u540d\u5b57\u7684\u5305<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> pip search pkg<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">\u67e5\u8be2\u5f53\u524d\u73af\u5883\u4e2d\u53ef\u5347\u7ea7\u7684\u5305<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">$ pip list <\/span><span style=\"max-width: 1000%;\">--<\/span><span style=\"max-width: 1000%;\">outdated<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"font-size: 15px;\">\u67e5\u8be2\u4e00\u4e2a\u5305\u7684\u8be6\u7ec6\u5185\u5bb9<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\">$ pip show pkg<\/span><\/code><\/pre>\n<\/section>\n<h2><span style=\"color: #ff0000; font-size: 15px;\"><strong>2. \u4e0b\u8f7d\u8f6f\u4ef6\u5305<\/strong><\/span><\/h2>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5728\u4e0d\u5b89\u88c5\u8f6f\u4ef6\u5305\u7684\u60c5\u51b5\u4e0b\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u5230\u672c\u5730<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> pip download --destination-directory \/<span class=\"code-snippet__built_in\">local<\/span>\/wheels -r requirements.txt<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u4e0b\u8f7d\u5b8c\uff0c\u603b\u5f52\u662f\u8981\u5b89\u88c5\u7684\uff0c\u53ef\u4ee5\u6307\u5b9a\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u5b89\u88c5\u8f6f\u4ef6\u5305\uff0c\u800c\u4e0d\u4ece pypi \u4e0a\u5b89\u88c5\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> pip install --no-index --find-links=\/<span class=\"code-snippet__built_in\">local<\/span>\/wheels -r requirements.txt<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5f53\u7136\u4f60\u4e5f\u4ece\u4f60\u4e0b\u8f7d\u7684\u5305\u4e2d\uff0c\u81ea\u5df1\u6784\u5efa\u751f\u6210 wheel \u6587\u4ef6<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\">$ pip install wheel<\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">$ pip wheel <\/span><span style=\"max-width: 1000%;\">--<\/span><span style=\"max-width: 1000%;\">wheel<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">dir<\/span><span style=\"max-width: 1000%;\">=<\/span><span style=\"max-width: 1000%;\">\/local\/<\/span><span style=\"max-width: 1000%;\">wheels <\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">r requirements<\/span><span style=\"max-width: 1000%;\">.<\/span><span style=\"max-width: 1000%;\">txt<\/span><\/span><\/code><\/pre>\n<\/section>\n<h2><span style=\"color: #ff0000; font-size: 15px;\"><strong>3. \u5b89\u88c5\u8f6f\u4ef6\u5305<\/strong><\/span><\/h2>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u4f7f\u7528\u00a0<code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">pip install &lt;pkg&gt;<\/code>\u00a0\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u4ece pypi \u4e0a\u641c\u7d22\u4e0b\u8f7d\u5e76\u5b89\u88c5 python \u5305\u3002<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5982\u4e0b\u6240\u793a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\">$ pip install requests<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u8fd9\u662f\u5b89\u88c5\u5305\u7684\u57fa\u672c\u683c\u5f0f\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u4e3a\u5176\u6dfb\u52a0\u66f4\u591a\u53c2\u6570\u6765\u5b9e\u73b0\u4e0d\u540c\u7684\u6548\u679c\u3002<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><strong style=\"max-width: 100%; box-sizing: border-box; color: #ff5f2e; line-height: 1.75; overflow-wrap: break-word !important;\">3.1 \u53ea\u4ece\u672c\u5730\u5b89\u88c5\uff0c\u800c\u4e0d\u4ece pypi \u5b89\u88c5<\/strong><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> \u524d\u63d0\u4f60\u5f97\u4fdd\u8bc1\u4f60\u5df2\u7ecf\u4e0b\u8f7d pkg \u5305\u5230 \/<span class=\"code-snippet__built_in\">local<\/span>\/wheels \u76ee\u5f55\u4e0b<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> pip install --no-index --find-links=\/<span class=\"code-snippet__built_in\">local<\/span>\/wheels pkg<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><strong style=\"max-width: 100%; box-sizing: border-box; color: #ff5f2e; line-height: 1.75; overflow-wrap: break-word !important;\">3.2 \u9650\u5b9a\u7248\u672c\u8fdb\u884c\u8f6f\u4ef6\u5305\u5b89\u88c5<\/strong><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u4ee5\u4e0b\u4e09\u79cd\uff0c\u5bf9\u5355\u4e2a python \u5305\u7684\u7248\u672c\u8fdb\u884c\u4e86\u7ea6\u675f<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> \u6240\u5b89\u88c5\u7684\u5305\u7684\u7248\u672c\u4e3a 2.1.2<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> pip install pkg==2.1.2<\/span><\/code><code><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet_outer\">#<\/span> \u6240\u5b89\u88c5\u7684\u5305\u5fc5\u987b\u5927\u4e8e\u7b49\u4e8e 2.1.2<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> pip install pkg&gt;=2.1.2<\/span><\/code><code><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet_outer\">#<\/span> \u6240\u5b89\u88c5\u7684\u5305\u5fc5\u987b\u5c0f\u4e8e\u7b49\u4e8e 2.1.2<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> pip install pkg&lt;=2.1.2<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u4ee5\u4e0b\u547d\u4ee4\u7528\u4e8e\u7ba1\u7406\/\u63a7\u5236\u6574\u4e2a python \u73af\u5883\u7684\u5305\u7248\u672c<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> \u5bfc\u51fa\u4f9d\u8d56\u5305\u5217\u8868<\/span><\/code><code><span class=\"code-snippet_outer\">pip freeze &gt;requirements.txt<\/span><\/code><code><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet_outer\">#<\/span> \u4ece\u4f9d\u8d56\u5305\u5217\u8868\u4e2d\u5b89\u88c5<\/span><\/code><code><span class=\"code-snippet_outer\">pip install -r requirements.txt<\/span><\/code><code><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet_outer\">#<\/span> \u786e\u4fdd\u5f53\u524d\u73af\u5883\u8f6f\u4ef6\u5305\u7684\u7248\u672c(\u5e76\u4e0d\u786e\u4fdd\u5b89\u88c5)<\/span><\/code><code><span class=\"code-snippet_outer\">pip install -c constraints.txt<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><strong style=\"max-width: 100%; box-sizing: border-box; color: #ff5f2e; line-height: 1.75; overflow-wrap: break-word !important;\">3.3 \u9650\u5236\u4e0d\u4f7f\u7528\u4e8c\u8fdb\u5236\u5305\u5b89\u88c5<\/strong><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u7531\u4e8e\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cwheel \u5305\u7684\u5e73\u53f0\u662f\u8fd0\u884c pip download \u547d\u4ee4 \u7684\u5e73\u53f0\uff0c\u6240\u4ee5\u53ef\u80fd\u51fa\u73b0\u5e73\u53f0\u4e0d\u9002\u914d\u7684\u60c5\u51b5\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u6bd4\u5982\u5728 MacOS \u7cfb\u7edf\u4e0b\u5f97\u5230\u7684 pymongo-2.8-cp27-none-macosx_10_10_intel.whl \u5c31\u4e0d\u80fd\u5728 linux_x86_64 \u5b89\u88c5\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u4f7f\u7528\u4e0b\u9762\u8fd9\u6761\u547d\u4ee4\u4e0b\u8f7d\u7684\u662f tar.gz \u7684\u5305\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 pip install \u5b89\u88c5\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u6bd4 wheel \u5305\uff0c\u8fd9\u79cd\u5305\u5728\u5b89\u88c5\u65f6\u4f1a\u8fdb\u884c\u7f16\u8bd1\uff0c\u6240\u4ee5\u82b1\u8d39\u7684\u65f6\u95f4\u4f1a\u957f\u4e00\u4e9b\u3002<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span class=\"code-snippet__meta\" style=\"max-width: 1000%;\">#<\/span><span style=\"max-width: 1000%;\">\u00a0\u4e0b\u8f7d\u975e\u4e8c\u8fdb\u5236\u7684\u5305<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span class=\"code-snippet__meta\" style=\"max-width: 1000%;\">$<\/span><span style=\"max-width: 1000%;\"> pip download --no-binary=:all: pkg<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%;\">#<\/span><span style=\"max-width: 1000%;\">\u3000\u5b89\u88c5\u975e\u4e8c\u8fdb\u5236\u7684\u5305<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span class=\"code-snippet__meta\" style=\"max-width: 1000%;\">$<\/span><span style=\"max-width: 1000%;\"> pip install pkg --no-binary<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><strong style=\"max-width: 100%; box-sizing: border-box; color: #ff5f2e; line-height: 1.75; overflow-wrap: break-word !important;\">3.4 \u6307\u5b9a\u4ee3\u7406\u670d\u52a1\u5668\u5b89\u88c5<\/strong><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5f53\u4f60\u8eab\u5904\u5728\u4e00\u4e2a\u5185\u7f51\u73af\u5883\u4e2d\u65f6\uff0c\u65e0\u6cd5\u76f4\u63a5\u8fde\u63a5\u516c\u7f51\u3002\u8fd9\u65f6\u5019\u4f60\u4f7f\u7528<code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">pip install<\/code>\u00a0\u5b89\u88c5\u5305\uff0c\u5c31\u4f1a\u5931\u8d25\u3002<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u9762\u5bf9\u8fd9\u79cd\u60c5\u51b5\uff0c\u53ef\u4ee5\u6709\u4e24\u79cd\u65b9\u6cd5\uff1a<\/p>\n<p style=\"padding-left: 1em; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; overflow-wrap: break-word !important;\"><span style=\"margin: 0.5em 8px; max-width: 100%; box-sizing: border-box; line-height: 1.75; text-indent: -1em; display: block; overflow-wrap: break-word !important;\"><span style=\"margin-right: 10px; max-width: 100%;\">1.<\/span>\u4e0b\u8f7d\u79bb\u7ebf\u5305\u62f7\u8d1d\u5230\u5185\u7f51\u673a\u5668\u4e2d\u5b89\u88c5<span style=\"margin-right: 10px; max-width: 100%;\">2.<\/span>\u4f7f\u7528\u4ee3\u7406\u670d\u52a1\u5668\u8f6c\u53d1\u8bf7\u6c42<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u7b2c\u4e00\u79cd\u65b9\u6cd5\uff0c\u867d\u8bf4\u53ef\u884c\uff0c\u4f46\u6709\u76f8\u5f53\u591a\u7684\u5f0a\u7aef<\/p>\n<p style=\"padding-left: 1em; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; list-style: circle; overflow-wrap: break-word !important;\"><span style=\"margin: 0.5em 8px; max-width: 100%; box-sizing: border-box; line-height: 1.75; text-indent: -1em; display: block; overflow-wrap: break-word !important;\"><span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span>\u6b65\u9aa4\u7e41\u6742\uff0c\u8017\u65f6\u8017\u529b<span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span>\u65e0\u6cd5\u5904\u7406\u5305\u7684\u4f9d\u8d56\u95ee\u9898<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u8fd9\u91cc\u91cd\u70b9\u6765\u4ecb\u7ecd\uff0c\u7b2c\u4e8c\u79cd\u65b9\u6cd5\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">$ pip install <\/span><span style=\"max-width: 1000%;\">--<\/span><span style=\"max-width: 1000%;\">proxy <\/span><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">user<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">passwd@<\/span><span style=\"max-width: 1000%;\">]<\/span><span style=\"max-width: 1000%;\">http_server_ip<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">port pkg<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u6bcf\u6b21\u5b89\u88c5\u5305\u5c31\u53d1\u8f93\u5165\u957f\u957f\u7684\u53c2\u6570\uff0c\u672a\u514d\u6709\u4e9b\u9ebb\u70e6\uff0c\u4e3a\u6b64\u4f60\u53ef\u4ee5\u5c06\u5176\u5199\u5165\u914d\u7f6e\u6587\u4ef6\u4e2d\uff1a<code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">$HOME\/.config\/pip\/pip.conf<\/code><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5bf9\u4e8e\u8fd9\u4e2a\u8def\u5f84\uff0c\u8bf4\u660e\u51e0\u70b9<\/p>\n<p style=\"padding-left: 1em; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; list-style: circle; overflow-wrap: break-word !important;\"><span style=\"margin: 0.5em 8px; max-width: 100%; box-sizing: border-box; line-height: 1.75; text-indent: -1em; display: block; overflow-wrap: break-word !important;\"><span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span>\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u8def\u5f84\u5404\u4e0d\u76f8\u540c<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> Linux\/Unix:<\/span><\/code><code><span class=\"code-snippet_outer\">\/etc\/pip.conf<\/span><\/code><code><span class=\"code-snippet_outer\">~\/.pip\/pip.conf<\/span><\/code><code><span class=\"code-snippet_outer\">~\/.config\/pip\/pip.conf<\/span><\/code><code><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet_outer\">#<\/span> Mac OSX:<\/span><\/code><code><span class=\"code-snippet_outer\">~\/Library\/ApplicationSupport\/pip\/pip.conf<\/span><\/code><code><span class=\"code-snippet_outer\">~\/.pip\/pip.conf<\/span><\/code><code><span class=\"code-snippet_outer\">\/Library\/ApplicationSupport\/pip\/pip.conf<\/span><\/code><code><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet_outer\">#<\/span> Windows:<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">%<\/span>APPDATA%pippip.ini<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">%<\/span>HOME%pippip.ini<\/span><\/code><code><span class=\"code-snippet_outer\">C:Documents andSettingsAll UsersApplication DataPyPApippip.conf (Windows XP)<\/span><\/code><code><span class=\"code-snippet_outer\">C:ProgramDataPyPApippip.conf (Windows7\u53ca\u4ee5\u540e) <\/span><\/code><\/pre>\n<\/section>\n<p style=\"padding-left: 1em; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; list-style: circle; overflow-wrap: break-word !important;\"><span style=\"margin: 0.5em 8px; max-width: 100%; box-sizing: border-box; line-height: 1.75; text-indent: -1em; display: block; overflow-wrap: break-word !important;\"><span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span>\u82e5\u5728\u4f60\u7684\u673a\u5b50\u4e0a\u6ca1\u6709\u6b64\u6587\u4ef6\uff0c\u5219\u81ea\u884c\u521b\u5efa\u5373\u53ef<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5982\u4f55\u914d\u7f6e\uff0c\u8fd9\u8fb9\u7ed9\u4e2a\u6837\u4f8b\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">global<\/span><span style=\"max-width: 1000%;\">]<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">index<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">url <\/span><span style=\"max-width: 1000%;\">=<\/span><span style=\"max-width: 1000%;\"> http<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">\/\/mirrors.aliyun.com\/pypi\/simple\/ <\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\"># \u66ff\u6362\u51fa\u81ea\u5df1\u7684\u4ee3\u7406\u5730\u5740\uff0c\u683c\u5f0f\u4e3a[user:passwd@]proxy.server:port<\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">proxy<\/span><span style=\"max-width: 1000%;\">=<\/span><span style=\"max-width: 1000%;\">http<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">\/\/xxx.xxx.xxx.xxx:8080 <\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">install<\/span><span style=\"max-width: 1000%;\">]<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\"># \u4fe1\u4efb\u963f\u91cc\u4e91\u7684\u955c\u50cf\u6e90\uff0c\u5426\u5219\u4f1a\u6709\u8b66\u544a<\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">trusted<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">host<\/span><span style=\"max-width: 1000%;\">=<\/span><span style=\"max-width: 1000%;\">mirrors<\/span><span style=\"max-width: 1000%;\">.<\/span><span style=\"max-width: 1000%;\">aliyun<\/span><span style=\"max-width: 1000%;\">.<\/span><span style=\"max-width: 1000%;\">com<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\"><strong style=\"max-width: 100%; box-sizing: border-box; color: #ff5f2e; line-height: 1.75; overflow-wrap: break-word !important;\">3.5 \u5b89\u88c5\u7528\u6237\u79c1\u6709\u8f6f\u4ef6\u5305<\/strong><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5f88\u591a\u4eba\u53ef\u80fd\u8fd8\u4e0d\u6e05\u695a\uff0cpython \u7684\u5b89\u88c5\u5305\u662f\u53ef\u4ee5\u7528\u6237\u9694\u79bb\u7684\u3002<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5982\u679c\u4f60\u62e5\u6709\u7ba1\u7406\u5458\u6743\u9650\uff0c\u4f60\u53ef\u4ee5\u5c06\u5305\u5b89\u88c5\u5728\u5168\u5c40\u73af\u5883\u4e2d\u3002\u5728\u5168\u5c40\u73af\u5883\u4e2d\u7684\u8fd9\u4e2a\u5305\u53ef\u88ab\u8be5\u673a\u5668\u4e0a\u7684\u6240\u6709\u62e5\u6709\u7ba1\u7406\u5458\u6743\u9650\u7684\u7528\u6237\u4f7f\u7528\u3002<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5982\u679c\u4e00\u53f0\u673a\u5668\u4e0a\u7684\u4f7f\u7528\u8005\u4e0d\u53ea\u4e00\u6837\uff0c\u81ea\u79c1\u5730\u5c06\u5728\u5168\u5c40\u73af\u5883\u4e2d\u5b89\u88c5\u6216\u8005\u5347\u7ea7\u67d0\u4e2a\u5305\uff0c\u662f\u4e0d\u8d1f\u8d23\u4efb\u4e14\u5371\u9669\u7684\u505a\u6cd5\u3002<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u9762\u5bf9\u8fd9\u79cd\u60c5\u51b5\uff0c\u6211\u4eec\u5c31\u60f3\u80fd\u5426\u5b89\u88c5\u5355\u72ec\u4e3a\u6211\u6240\u7528\u7684\u5305\u5462\uff1f<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5e86\u5e78\u7684\u662f\uff0c\u8fd8\u771f\u6709\u3002<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u6211\u80fd\u60f3\u5230\u7684\u6709\u4e24\u79cd\u65b9\u6cd5\uff1a<\/p>\n<p style=\"padding-left: 1em; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; overflow-wrap: break-word !important;\"><span style=\"margin: 0.5em 8px; max-width: 100%; box-sizing: border-box; line-height: 1.75; text-indent: -1em; display: block; overflow-wrap: break-word !important;\"><span style=\"margin-right: 10px; max-width: 100%;\">1.<\/span>\u4f7f\u7528\u865a\u62df\u73af\u5883<span style=\"margin-right: 10px; max-width: 100%;\">2.<\/span>\u5c06\u5305\u5b89\u88c5\u5728\u7528\u6237\u7684\u73af\u5883\u4e2d<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u4eca\u5929\u7684\u91cd\u70b9\u662f\u7b2c\u4e8c\u79cd\u65b9\u6cd5\uff0c\u6559\u4f60\u5982\u4f55\u5b89\u88c5\u7528\u6237\u79c1\u6709\u7684\u5305\uff1f<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u547d\u4ee4\u4e5f\u5f88\u7b80\u5355\uff0c\u53ea\u8981\u52a0\u4e0a\u00a0<code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">--user<\/code>\u00a0\u53c2\u6570\uff0cpip \u5c31\u4f1a\u5c06\u5176\u5b89\u88c5\u5728\u5f53\u524d\u7528\u6237\u7684\u00a0<code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">~\/.local\/lib\/python3.x\/site-packages<\/code>\u00a0\u4e0b\uff0c\u800c\u5176\u4ed6\u7528\u6237\u7684 python \u5219\u4e0d\u4f1a\u53d7\u5f71\u54cd\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">pip install <\/span><span style=\"max-width: 1000%;\">--<\/span><span style=\"max-width: 1000%;\">user pkg<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u6765\u4e3e\u4e2a\u4f8b\u5b50<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\"># \u5728\u5168\u5c40\u73af\u5883\u4e2d\u672a\u5b89\u88c5 requests<\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">root@localhost <\/span><span style=\"max-width: 1000%;\">~]#<\/span><span style=\"max-width: 1000%;\"> pip list <\/span><span style=\"max-width: 1000%;\">|<\/span><span style=\"max-width: 1000%;\"> grep requests   <\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">root@localhost <\/span><span style=\"max-width: 1000%;\">~]#<\/span><span style=\"max-width: 1000%;\"> su <\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\"> wangbm<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">root@localhost <\/span><span style=\"max-width: 1000%;\">~]#<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\"># \u7531\u4e8e\u7528\u6237\u73af\u5883\u7ee7\u627f\u81ea\u5168\u5c40\u73af\u5883\uff0c\u8fd9\u91cc\u4e5f\u672a\u5b89\u88c5<\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">wangbm@localhost <\/span><span style=\"max-width: 1000%;\">~]#<\/span><span style=\"max-width: 1000%;\"> pip list <\/span><span style=\"max-width: 1000%;\">|<\/span><span style=\"max-width: 1000%;\"> grep requests <\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">wangbm@localhost <\/span><span style=\"max-width: 1000%;\">~]#<\/span><span style=\"max-width: 1000%;\"> pip install <\/span><span style=\"max-width: 1000%;\">--<\/span><span style=\"max-width: 1000%;\">user requests  <\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">wangbm@localhost <\/span><span style=\"max-width: 1000%;\">~]#<\/span><span style=\"max-width: 1000%;\"> pip list <\/span><span style=\"max-width: 1000%;\">|<\/span><span style=\"max-width: 1000%;\"> grep requests <\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">requests <\/span><span style=\"max-width: 1000%;\">(<\/span><span style=\"max-width: 1000%;\">2.22<\/span><span style=\"max-width: 1000%;\">.<\/span><span style=\"max-width: 1000%;\">0<\/span><span style=\"max-width: 1000%;\">)<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">wangbm@localhost <\/span><span style=\"max-width: 1000%;\">~]#<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\"># \u4ece Location \u5c5e\u6027\u53ef\u53d1\u73b0 requests \u53ea\u5b89\u88c5\u5728\u5f53\u524d\u7528\u6237\u73af\u5883\u4e2d<\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">wangbm@ws_compute01 <\/span><span style=\"max-width: 1000%;\">~]<\/span><span style=\"max-width: 1000%;\">$ pip show requests<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\">---<\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">Metadata<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">Version<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">2.1<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">Name<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\"> requests<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">Version<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">2.22<\/span><span style=\"max-width: 1000%;\">.<\/span><span style=\"max-width: 1000%;\">0<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">Summary<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">Python<\/span><span style=\"max-width: 1000%;\"> HTTP <\/span><span style=\"max-width: 1000%;\">for<\/span><span style=\"max-width: 1000%;\">Humans<\/span><span style=\"max-width: 1000%;\">.<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">Home<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">page<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\"> http<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">\/\/python-requests.org<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">Author<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">Kenneth<\/span><span style=\"max-width: 1000%;\">Reitz<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">Author<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">email<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\"> me@kennethreitz<\/span><span style=\"max-width: 1000%;\">.<\/span><span style=\"max-width: 1000%;\">org<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">Installer<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\"> pip<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">License<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">Apache<\/span><span style=\"max-width: 1000%;\">2.0<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">Location<\/span><span style=\"max-width: 1000%;\">:<\/span><span style=\"max-width: 1000%;\">\/home\/<\/span><span style=\"max-width: 1000%;\">wangbm<\/span><span style=\"max-width: 1000%;\">\/.<\/span><span style=\"max-width: 1000%;\">local<\/span><span style=\"max-width: 1000%;\">\/<\/span><span style=\"max-width: 1000%;\">lib<\/span><span style=\"max-width: 1000%;\">\/<\/span><span style=\"max-width: 1000%;\">python2<\/span><span style=\"max-width: 1000%;\">.<\/span><span style=\"max-width: 1000%;\">7<\/span><span style=\"max-width: 1000%;\">\/<\/span><span style=\"max-width: 1000%;\">site<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">packages<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">wangbm@localhost <\/span><span style=\"max-width: 1000%;\">~]<\/span><span style=\"max-width: 1000%;\">$ <\/span><span style=\"max-width: 1000%;\">exit<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\">logout<\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\"><br \/><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\"># \u9000\u51fa wangbm \u7528\u6237\uff0c\u5728 root \u7528\u6237\u73af\u5883\u4e2d\u53d1\u73b0 requests \u672a\u5b89\u88c5<\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">root@localhost <\/span><span style=\"max-width: 1000%;\">~]<\/span><span style=\"max-width: 1000%;\">$ pip list <\/span><span style=\"max-width: 1000%;\">|<\/span><span style=\"max-width: 1000%;\"> grep requests<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">root@localhost <\/span><span style=\"max-width: 1000%;\">~]<\/span><span style=\"max-width: 1000%;\">$<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5f53\u4f60\u8eab\u5904\u4e2a\u4eba\u7528\u6237\u73af\u5883\u4e2d\uff0cpython \u5bfc\u5305\u65f6\u4f1a\u5148\u68c0\u7d22\u5f53\u524d\u7528\u6237\u73af\u5883\u4e2d\u662f\u5426\u5df2\u5b89\u88c5\u8fd9\u4e2a\u5305\uff0c\u5df2\u5b89\u88c5\u5219\u4f18\u5148\u4f7f\u7528\uff0c\u672a\u5b89\u88c5\u5219\u4f7f\u7528\u5168\u5c40\u73af\u5883\u4e2d\u7684\u5305\u3002<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u9a8c\u8bc1\u5982\u4e0b\uff0c\u4f60\u53ef\u4ee5\u53d1\u73b0 \/home\/wangbm\/ \u7684\u4f18\u5148\u4e8e \/usr\/lib\/python2.7\/\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">&gt;&gt;&gt;<\/span><span style=\"max-width: 1000%;\">import<\/span><span style=\"max-width: 1000%;\"> sys<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">&gt;&gt;&gt;<\/span><span style=\"max-width: 1000%;\">from<\/span><span style=\"max-width: 1000%;\"> pprint <\/span><span style=\"max-width: 1000%;\">import<\/span><span style=\"max-width: 1000%;\"> pprint <\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">&gt;&gt;&gt;<\/span><span style=\"max-width: 1000%;\"> pprint<\/span><span style=\"max-width: 1000%;\">(<\/span><span style=\"max-width: 1000%;\">sys<\/span><span style=\"max-width: 1000%;\">.<\/span><span style=\"max-width: 1000%;\">path<\/span><span style=\"max-width: 1000%;\">)<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">[<\/span><span style=\"max-width: 1000%;\">''<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib64\/python27.zip'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib64\/python2.7'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib64\/python2.7\/plat-linux2'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib64\/python2.7\/lib-tk'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib64\/python2.7\/lib-old'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib64\/python2.7\/lib-dynload'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/home\/wangbm\/.local\/lib\/python2.7\/site-packages'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib64\/python2.7\/site-packages'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib64\/python2.7\/site-packages\/gtk-2.0'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib\/python2.7\/site-packages'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib\/python2.7\/site-packages\/pip-18.1-py2.7.egg'<\/span><span style=\"max-width: 1000%;\">,<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">'\/usr\/lib\/python2.7\/site-packages\/lockfile-0.12.2-py2.7.egg'<\/span><span style=\"max-width: 1000%;\">]<\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">&gt;&gt;&gt;<\/span> <\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\"><br \/><\/span><\/code><\/pre>\n<\/section>\n<h2><span style=\"color: #ff0000; font-size: 15px;\"><strong>4. \u5378\u8f7d\u8f6f\u4ef6\u5305<\/strong><\/span><\/h2>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5c31\u4e00\u6761\u547d\u4ee4\uff0c\u4e0d\u518d\u8d58\u8ff0\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"box-sizing: border-box; max-width: 1000%; overflow-wrap: break-word !important;\">$ pip uninstall pkg<\/span><\/code><\/pre>\n<\/section>\n<h2><span style=\"color: #ff0000; font-size: 15px;\"><strong>5. \u5347\u7ea7\u8f6f\u4ef6\u5305<\/strong><\/span><\/h2>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u60f3\u8981\u5bf9\u73b0\u6709\u7684 python \u8fdb\u884c\u5347\u7ea7\uff0c\u5176\u672c\u8d28\u4e0a\u4e5f\u662f\u5148\u4ece pypi \u4e0a\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684\u5305\uff0c\u518d\u5bf9\u5176\u8fdb\u884c\u5b89\u88c5\u3002\u6240\u4ee5\u5347\u7ea7\u4e5f\u662f\u4f7f\u7528\u00a0<code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">pip install<\/code>\uff0c\u53ea\u4e0d\u8fc7\u8981\u52a0\u4e00\u4e2a\u53c2\u6570\u00a0<code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">--upgrade<\/code>\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">$ pip install <\/span><span style=\"max-width: 1000%;\">--<\/span><span style=\"max-width: 1000%;\">upgrade pkg<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5728\u5347\u7ea7\u7684\u65f6\u5019\uff0c\u5176\u5b9e\u8fd8\u6709\u4e00\u4e2a\u4e0d\u600e\u4e48\u7528\u5230\u7684\u9009\u9879\u00a0<code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">--upgrade-strategy<\/code>\uff0c\u5b83\u662f\u7528\u6765\u6307\u5b9a\u5347\u7ea7\u7b56\u7565\u3002<\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5b83\u7684\u53ef\u9009\u9879\u53ea\u6709\u4e24\u4e2a\uff1a<\/p>\n<p style=\"padding-left: 1em; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; list-style: circle; overflow-wrap: break-word !important;\"><span style=\"margin: 0.5em 8px; max-width: 100%; box-sizing: border-box; line-height: 1.75; text-indent: -1em; display: block; overflow-wrap: break-word !important;\"><span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span><code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">eager<\/code>\u00a0\uff1a\u5347\u7ea7\u5168\u90e8\u4f9d\u8d56\u5305<span style=\"margin-right: 10px; max-width: 100%;\">\u2022<\/span><code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">only-if-need<\/code>\uff1a\u53ea\u6709\u5f53\u65e7\u7248\u672c\u4e0d\u80fd\u9002\u914d\u65b0\u7684\u7236\u4f9d\u8d56\u5305\u65f6\uff0c\u624d\u4f1a\u5347\u7ea7\u3002<\/span><\/p>\n<p style=\"margin: 1.5em 8px; max-width: 100%; box-sizing: border-box; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; white-space: normal; background-color: #ffffff; text-align: left; color: #3f3f3f; line-height: 1.75; font-size: 15px; letter-spacing: 0.1em; overflow-wrap: break-word !important;\">\u5728 pip 10.0 \u7248\u672c\u4e4b\u540e\uff0c\u8fd9\u4e2a\u9009\u9879\u7684\u9ed8\u8ba4\u503c\u662f\u00a0<code style=\"padding: 3px 5px; max-width: 100%; box-sizing: border-box; color: #dd1144; line-height: 1.75; font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace; font-size: 13.5px; background: rgba(27, 31, 35, 0.05); border-radius: 4px; overflow-wrap: break-word !important;\">only-if-need<\/code>\uff0c\u56e0\u6b64\u5982\u4e0b\u4e24\u79cd\u5199\u6cd5\u662f\u4e00\u4e92\u81f4\u7684\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">pip install <\/span><span style=\"max-width: 1000%;\">--<\/span><span style=\"max-width: 1000%;\">upgrade pkg1 <\/span><\/span><\/code><code style=\"white-space: pre-wrap; max-width: 1000%; box-sizing: border-box; text-align: left; display: flex; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; overflow-wrap: break-word !important; border-width: 0px !important; border-style: initial !important; border-color: initial !important;\"><span class=\"code-snippet_outer\" style=\"max-width: 1000%; box-sizing: border-box; overflow-wrap: break-word !important;\"><span style=\"max-width: 1000%;\">pip install <\/span><span style=\"max-width: 1000%;\">--<\/span><span style=\"max-width: 1000%;\">upgrade pkg1 <\/span><span style=\"max-width: 1000%;\">--<\/span><span style=\"max-width: 1000%;\">upgrade<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">strategy only<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">if<\/span><span style=\"max-width: 1000%;\">-<\/span><span style=\"max-width: 1000%;\">need<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"white-space: normal; font-variant-ligatures: normal; orphans: 2; widows: 2;\">\u00a0<\/p>\n<p style=\"white-space: normal; font-variant-ligatures: normal; orphans: 2; widows: 2; text-align: center;\"><span style=\"font-size: 15px; color: #888888;\">&#8211; EOF &#8211;<\/span><\/p>\n<\/div>\n\n\n<p>\u8f6c\u81ea\uff1ahttps:\/\/mp.weixin.qq.com\/s\/YDpO_ShK2VjlBgato8HBmg<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6765\u6e90\uff1aPython\u7f16\u7a0b\u65f6\u5149 \u6240\u6709\u7684 Python \u5f00\u53d1\u8005\u90fd\u6e05\u695a\uff0cPython \u4e4b\u6240\u4ee5\u5982\u6b64\u53d7\u6b22\u8fce\uff0c\u80fd\u591f\u5728\u4f17\u591a\u9ad8\u7ea7 &hellip; <a href=\"http:\/\/www.zhushiyao.com\/?p=42934\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u6700\u5168\u7684 pip \u4f7f\u7528\u6307\u5357\uff0c50% \u4f60\u53ef\u80fd\u6ca1\u7528\u8fc7\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[923,8],"_links":{"self":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/42934"}],"collection":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42934"}],"version-history":[{"count":2,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/42934\/revisions"}],"predecessor-version":[{"id":42938,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/42934\/revisions\/42938"}],"wp:attachment":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42934"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}