{"id":1090855,"date":"2025-01-08T14:06:09","date_gmt":"2025-01-08T06:06:09","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1090855.html"},"modified":"2025-01-08T14:06:13","modified_gmt":"2025-01-08T06:06:13","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8python%e9%87%8c%e5%ae%89%e8%a3%85%e5%9c%b0%e5%9b%be%e5%8c%85-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1090855.html","title":{"rendered":"\u5982\u4f55\u5728Python\u91cc\u5b89\u88c5\u5730\u56fe\u5305"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24203323\/36155dc7-3164-44ba-9dc7-ac07148114e7.webp\" alt=\"\u5982\u4f55\u5728Python\u91cc\u5b89\u88c5\u5730\u56fe\u5305\" \/><\/p>\n<p><p> <strong>\u8981\u5728Python\u4e2d\u5b89\u88c5\u5730\u56fe\u5305\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528pip\u5b89\u88c5\u7a0b\u5e8f\u3001\u4f7f\u7528Anaconda\u5b89\u88c5\u7a0b\u5e8f\u3001\u786e\u4fdd\u4f60\u5b89\u88c5\u4e86\u6240\u6709\u4f9d\u8d56\u9879\u3002<\/strong> \u5176\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528pip\u5b89\u88c5\u7a0b\u5e8f\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e2a\u7b80\u5355\u7684\u547d\u4ee4\u884c\u8f93\u5165\u6765\u5b8c\u6210\u5b89\u88c5\u3002\u5177\u4f53\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u6253\u5f00\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u7a97\u53e3\u3002\u7136\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\u5730\u56fe\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install folium<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>Folium\u662f\u4e00\u4e2a\u5e38\u7528\u7684Python\u5730\u56fe\u5305\uff0c\u5b83\u5141\u8bb8\u4f60\u5728Python\u4e2d\u521b\u5efa\u4ea4\u4e92\u5f0f\u5730\u56fe\uff0c\u5e76\u4e14\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u8fd9\u4e9b\u5730\u56fe\u5d4c\u5165\u5230Jupyter\u7b14\u8bb0\u672c\u4e2d\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5728Python\u811a\u672c\u4e2d\u5bfc\u5165Folium\u5e76\u5f00\u59cb\u4f7f\u7528\u5b83\u6765\u521b\u5efa\u5730\u56fe\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Folium\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u5730\u56fe\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u5b89\u88c5Folium<\/h3>\n<\/p>\n<p><p><strong>Folium\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684Python\u5730\u56fe\u5305\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u521b\u5efa\u4ea4\u4e92\u5f0f\u5730\u56fe\u3002<\/strong><\/p>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528pip\u5b89\u88c5<\/h4>\n<\/p>\n<p><p>Folium\u53ef\u4ee5\u901a\u8fc7pip\u5b89\u88c5\uff0c\u8fd9\u662f\u6700\u7b80\u5355\u548c\u5e38\u7528\u7684\u65b9\u6cd5\u3002\u5728\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u7a97\u53e3\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5373\u53ef\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install folium<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u4f7f\u7528Anaconda\u5b89\u88c5<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662fAnaconda\u73af\u5883\uff0c\u4f60\u4e5f\u53ef\u4ee5\u901a\u8fc7conda\u5b89\u88c5Folium\u3002\u6253\u5f00Anaconda Prompt\uff0c\u7136\u540e\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda install -c conda-forge folium<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u4eceConda-Forge\u9891\u9053\u5b89\u88c5Folium\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5728\u4f60\u7684Python\u73af\u5883\u4e2d\u5bfc\u5165Folium\u5e76\u5f00\u59cb\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u5730\u56fe<\/h3>\n<\/p>\n<p><p><strong>\u4e00\u65e6\u4f60\u5b89\u88c5\u4e86Folium\uff0c\u4f60\u53ef\u4ee5\u5f00\u59cb\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u5730\u56fe\u3002<\/strong><\/p>\n<\/p>\n<p><h4>1\u3001\u5bfc\u5165Folium<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5728\u4f60\u7684Python\u811a\u672c\u4e2d\u5bfc\u5165Folium\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import folium<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efa\u5730\u56fe\u5bf9\u8c61<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5730\u56fe\u5bf9\u8c61\uff0c\u5e76\u8bbe\u7f6e\u521d\u59cb\u4f4d\u7f6e\u548c\u7f29\u653e\u7ea7\u522b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">map = folium.Map(location=[45.5236, -122.6750], zoom_start=13)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u5730\u56fe\u7684\u521d\u59cb\u4f4d\u7f6e\u8bbe\u7f6e\u4e3a\u7eac\u5ea645.5236\uff0c \u7ecf\u5ea6-122.6750\uff0c\u5e76\u4e14\u7f29\u653e\u7ea7\u522b\u4e3a13\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u6dfb\u52a0\u6807\u8bb0<\/h4>\n<\/p>\n<p><p>\u4f60\u8fd8\u53ef\u4ee5\u5728\u5730\u56fe\u4e0a\u6dfb\u52a0\u6807\u8bb0\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">folium.Marker([45.5236, -122.6750], popup=&#39;Portland, OR&#39;).add_to(map)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5728\u5730\u56fe\u7684\u521d\u59cb\u4f4d\u7f6e\u6dfb\u52a0\u4e00\u4e2a\u6807\u8bb0\uff0c\u5e76\u5728\u6807\u8bb0\u4e0a\u6dfb\u52a0\u4e00\u4e2a\u5f39\u51fa\u7a97\u53e3\uff0c\u663e\u793a\u6587\u672c\u201cPortland, OR\u201d\u3002<\/p>\n<\/p>\n<p><h4>4\u3001\u4fdd\u5b58\u548c\u663e\u793a\u5730\u56fe<\/h4>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u4f60\u53ef\u4ee5\u5c06\u5730\u56fe\u4fdd\u5b58\u4e3aHTML\u6587\u4ef6\uff0c\u5e76\u5728\u6d4f\u89c8\u5668\u4e2d\u67e5\u770b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">map.save(&#39;map.html&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u540d\u4e3amap.html\u7684\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\u5b83\u6765\u67e5\u770b\u4f60\u7684\u5730\u56fe\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u6dfb\u52a0\u66f4\u591a\u529f\u80fd<\/h3>\n<\/p>\n<p><p><strong>Folium\u4e0d\u4ec5\u53ef\u4ee5\u521b\u5efa\u7b80\u5355\u7684\u5730\u56fe\uff0c\u8fd8\u53ef\u4ee5\u6dfb\u52a0\u66f4\u591a\u9ad8\u7ea7\u529f\u80fd\u3002<\/strong><\/p>\n<\/p>\n<p><h4>1\u3001\u6dfb\u52a0\u56fe\u5c42\u63a7\u5236<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u6dfb\u52a0\u591a\u4e2a\u56fe\u5c42\uff0c\u5e76\u4f7f\u7528\u56fe\u5c42\u63a7\u5236\u6765\u5207\u6362\u4e0d\u540c\u7684\u56fe\u5c42\u3002\u4f8b\u5982\uff0c\u6dfb\u52a0\u4e00\u4e2a\u74e6\u7247\u56fe\u5c42\u548c\u4e00\u4e2a\u5730\u5f62\u56fe\u5c42\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">folium.TileLayer(&#39;Stamen Terr<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n&#39;).add_to(map)<\/p>\n<p>folium.TileLayer(&#39;Stamen Toner&#39;).add_to(map)<\/p>\n<p>folium.LayerControl().add_to(map)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u6dfb\u52a0\u4e24\u4e2a\u4e0d\u540c\u7684\u56fe\u5c42\uff0c\u5e76\u5728\u5730\u56fe\u4e0a\u663e\u793a\u4e00\u4e2a\u56fe\u5c42\u63a7\u5236\uff0c\u4ee5\u4fbf\u7528\u6237\u53ef\u4ee5\u5207\u6362\u56fe\u5c42\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u6dfb\u52a0\u591a\u8fb9\u5f62\u548c\u7ebf\u6761<\/h4>\n<\/p>\n<p><p>\u4f60\u8fd8\u53ef\u4ee5\u5728\u5730\u56fe\u4e0a\u7ed8\u5236\u591a\u8fb9\u5f62\u548c\u7ebf\u6761\u3002\u4f8b\u5982\uff0c\u7ed8\u5236\u4e00\u4e2a\u77e9\u5f62\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">folium.Rectangle(bounds=[[45.5236, -122.6750], [45.5280, -122.6700]],<\/p>\n<p>                 color=&#39;blue&#39;, fill=True, fill_color=&#39;blue&#39;).add_to(map)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5728\u5730\u56fe\u4e0a\u7ed8\u5236\u4e00\u4e2a\u84dd\u8272\u7684\u77e9\u5f62\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u6dfb\u52a0\u70ed\u529b\u56fe<\/h4>\n<\/p>\n<p><p>Folium\u8fd8\u652f\u6301\u70ed\u529b\u56fe\uff0c\u53ef\u4ee5\u7528\u6765\u53ef\u89c6\u5316\u6570\u636e\u7684\u5bc6\u5ea6\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u6dfb\u52a0\u4e00\u4e2a\u70ed\u529b\u56fe\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from folium.plugins import HeatMap<\/p>\n<p>data = [[45.5236, -122.6750], [45.5246, -122.6760], [45.5256, -122.6770]]<\/p>\n<p>HeatMap(data).add_to(map)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5728\u5730\u56fe\u4e0a\u6dfb\u52a0\u4e00\u4e2a\u70ed\u529b\u56fe\uff0c\u663e\u793a\u6570\u636e\u70b9\u7684\u5bc6\u5ea6\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5728Jupyter Notebook\u4e2d\u4f7f\u7528Folium<\/h3>\n<\/p>\n<p><p><strong>Folium\u975e\u5e38\u9002\u5408\u5728Jupyter Notebook\u4e2d\u4f7f\u7528\uff0c\u65b9\u4fbf\u8fdb\u884c\u6570\u636e\u53ef\u89c6\u5316\u3002<\/strong><\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Jupyter Notebook<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u5b89\u88c5Jupyter Notebook\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install notebook<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efa\u548c\u663e\u793a\u5730\u56fe<\/h4>\n<\/p>\n<p><p>\u5728Jupyter Notebook\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u521b\u5efa\u548c\u663e\u793a\u5730\u56fe\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import folium<\/p>\n<p>map = folium.Map(location=[45.5236, -122.6750], zoom_start=13)<\/p>\n<p>map<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5728Jupyter Notebook\u4e2d\u663e\u793a\u5730\u56fe\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u4ea4\u4e92\u5f0f\u529f\u80fd<\/h4>\n<\/p>\n<p><p>Folium\u5728Jupyter Notebook\u4e2d\u652f\u6301\u4ea4\u4e92\u5f0f\u529f\u80fd\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u6dfb\u52a0\u4e00\u4e2a\u641c\u7d22\u6846\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from folium.plugins import Search<\/p>\n<p>search = Search(layer=map, search_label=&#39;name&#39;)<\/p>\n<p>map.add_child(search)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5728\u5730\u56fe\u4e0a\u6dfb\u52a0\u4e00\u4e2a\u641c\u7d22\u6846\uff0c\u5141\u8bb8\u7528\u6237\u641c\u7d22\u7279\u5b9a\u4f4d\u7f6e\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5176\u4ed6\u5730\u56fe\u5305<\/h3>\n<\/p>\n<p><p><strong>\u9664\u4e86Folium\uff0c\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9bPython\u5730\u56fe\u5305\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u548c\u53ef\u89c6\u5316\u5730\u56fe\u3002<\/strong><\/p>\n<\/p>\n<p><h4>1\u3001Basemap<\/h4>\n<\/p>\n<p><p>Basemap\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u5730\u56fe\u5305\uff0c\u53ef\u4ee5\u521b\u5efa\u5404\u79cd\u7c7b\u578b\u7684\u5730\u56fe\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Basemap\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install basemap<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001Geopandas<\/h4>\n<\/p>\n<p><p>Geopandas\u662f\u4e00\u4e2a\u57fa\u4e8ePandas\u7684\u6570\u636e\u5904\u7406\u5e93\uff0c\u4e13\u6ce8\u4e8e\u5730\u7406\u6570\u636e\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Geopandas\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install geopandas<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001Plotly<\/h4>\n<\/p>\n<p><p>Plotly\u662f\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7ed8\u56fe\u5e93\uff0c\u652f\u6301\u5730\u56fe\u53ef\u89c6\u5316\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Plotly\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install plotly<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728Python\u4e2d\u5b89\u88c5\u5730\u56fe\u5305\uff0c\u5e76\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Folium\u521b\u5efa\u548c\u5b9a\u5236\u5730\u56fe\u3002\u6211\u4eec\u8fd8\u4ecb\u7ecd\u4e86\u4e00\u4e9b\u5176\u4ed6\u7684Python\u5730\u56fe\u5305\uff0c\u5982Basemap\u3001Geopandas\u548cPlotly\u3002\u901a\u8fc7\u8fd9\u4e9b\u5de5\u5177\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Python\u4e2d\u521b\u5efa\u548c\u53ef\u89c6\u5316\u5730\u56fe\uff0c\u4e3a\u4f60\u7684\u6570\u636e\u5206\u6790\u548c\u5c55\u793a\u63d0\u4f9b\u5f3a\u5927\u7684\u652f\u6301\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u9009\u62e9\u9002\u5408\u6211\u7684\u9879\u76ee\u7684\u5730\u56fe\u5305\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6709\u591a\u79cd\u5730\u56fe\u5305\u53ef\u4f9b\u9009\u62e9\uff0c\u6bd4\u5982Folium\u3001Geopandas\u548cMatplotlib\u7b49\u3002\u9009\u62e9\u5408\u9002\u7684\u5730\u56fe\u5305\u53d6\u51b3\u4e8e\u4f60\u7684\u9879\u76ee\u9700\u6c42\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u9700\u8981\u5236\u4f5c\u4ea4\u4e92\u5f0f\u5730\u56fe\uff0cFolium\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff1b\u800c\u5982\u679c\u9700\u8981\u8fdb\u884c\u5730\u7406\u6570\u636e\u5206\u6790\uff0cGeopandas\u53ef\u80fd\u66f4\u9002\u5408\u3002\u5efa\u8bae\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u9879\u76ee\u7c7b\u578b\u8fdb\u884c\u9009\u62e9\u3002<\/p>\n<p><strong>\u5b89\u88c5\u5730\u56fe\u5305\u7684\u6b65\u9aa4\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\u5b89\u88c5\u5730\u56fe\u5305\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7Python\u7684\u5305\u7ba1\u7406\u5de5\u5177pip\u6765\u5b8c\u6210\u3002\u4f60\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>pip install \u5305\u540d<\/code>\u6765\u5b89\u88c5\u9700\u8981\u7684\u5730\u56fe\u5305\u3002\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u548cpip\uff0c\u5e76\u4e14\u53ef\u4ee5\u8bbf\u95ee\u4e92\u8054\u7f51\u3002\u5728\u5b89\u88c5\u524d\uff0c\u67e5\u770b\u4e00\u4e0b\u5305\u7684\u6587\u6863\uff0c\u786e\u8ba4\u5176\u4f9d\u8d56\u9879\uff0c\u786e\u4fdd\u5b89\u88c5\u987a\u5229\u3002<\/p>\n<p><strong>\u5982\u4f55\u89e3\u51b3\u5730\u56fe\u5305\u5b89\u88c5\u4e2d\u7684\u5e38\u89c1\u95ee\u9898\uff1f<\/strong><br \/>\u5728\u5b89\u88c5\u5730\u56fe\u5305\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\uff0c\u4f8b\u5982\u4f9d\u8d56\u9879\u672a\u6ee1\u8db3\u3001\u6743\u9650\u4e0d\u8db3\u6216\u7f51\u7edc\u8fde\u63a5\u95ee\u9898\u3002\u5efa\u8bae\u68c0\u67e5Python\u548cpip\u7684\u7248\u672c\u662f\u5426\u4e3a\u6700\u65b0\uff0c\u786e\u4fdd\u7f51\u7edc\u8fde\u63a5\u6b63\u5e38\uff0c\u5e76\u4e14\u5728\u6709\u6743\u9650\u7684\u60c5\u51b5\u4e0b\u8fd0\u884c\u547d\u4ee4\u3002\u5982\u679c\u95ee\u9898\u4ecd\u7136\u5b58\u5728\uff0c\u67e5\u770b\u76f8\u5173\u7684GitHub\u9875\u9762\u6216\u793e\u533a\u8bba\u575b\uff0c\u901a\u5e38\u53ef\u4ee5\u627e\u5230\u89e3\u51b3\u65b9\u6848\u6216\u5176\u4ed6\u7528\u6237\u7684\u7ecf\u9a8c\u5206\u4eab\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python\u4e2d\u5b89\u88c5\u5730\u56fe\u5305\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528pip\u5b89\u88c5\u7a0b\u5e8f\u3001\u4f7f\u7528Anaconda\u5b89\u88c5\u7a0b\u5e8f\u3001\u786e\u4fdd\u4f60\u5b89\u88c5\u4e86\u6240\u6709\u4f9d\u8d56\u9879\u3002 [&hellip;]","protected":false},"author":3,"featured_media":1090864,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1090855"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1090855"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1090855\/revisions"}],"predecessor-version":[{"id":1090865,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1090855\/revisions\/1090865"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1090864"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1090855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1090855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1090855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}