{"id":5299,"date":"2022-04-02T19:04:17","date_gmt":"2022-04-02T11:04:17","guid":{"rendered":"https:\/\/egonlin.com\/?p=5299"},"modified":"2022-04-26T14:24:50","modified_gmt":"2022-04-26T06:24:50","slug":"08-05-%e5%ae%9e%e4%be%8b14-%e7%ac%ac%e4%b8%89%e6%96%b9%e5%ba%93%e8%87%aa%e5%8a%a8%e5%ae%89%e8%a3%85%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/egonlin.com\/?p=5299","title":{"rendered":"08-05 \u5b9e\u4f8b14-\u7b2c\u4e09\u65b9\u5e93\u81ea\u52a8\u5b89\u88c5\u811a\u672c"},"content":{"rendered":"<h1>\u4e00\u3001&quot;\u7b2c\u4e09\u65b9\u5e93\u81ea\u52a8\u5b89\u88c5\u811a\u672c&quot;\u95ee\u9898\u5206\u6790<\/h1>\n<h2>1.1 \u95ee\u9898\u5206\u6790<\/h2>\n<p>\u7b2c\u4e09\u65b9\u5e93\u81ea\u52a8\u5b89\u88c5\u811a\u672c<\/p>\n<ul>\n<li>\u9700\u6c42\uff1a\u6279\u91cf\u5b89\u88c5\u7b2c\u4e09\u65b9\u5e93\u9700\u8981\u4eba\u5de5\u5e72\u9884\uff0c\u80fd\u5426\u81ea\u52a8\u5b89\u88c5\uff1f<\/li>\n<li>\u81ea\u52a8\u6267\u884cpip\u9010\u4e00\u6839\u636e\u5b89\u88c5\u9700\u6c42\u5b89\u88c5<\/li>\n<\/ul>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center;\">\u5e93\u540d<\/th>\n<th style=\"text-align: center;\">\u7528\u9014<\/th>\n<th style=\"text-align: center;\">pip\u5b89\u88c5\u6307\u4ee4<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center;\">NumPy<\/td>\n<td style=\"text-align: center;\">N\u7ef4\u6570\u636e\u8868\u793a\u548c\u8fd0\u7b97<\/td>\n<td style=\"text-align: center;\">pip install numpy<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Matplotlib<\/td>\n<td style=\"text-align: center;\">\u4e8c\u7ef4\u6570\u636e\u53ef\u89c6\u5316<\/td>\n<td style=\"text-align: center;\">pip install matplotlib<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">PIL<\/td>\n<td style=\"text-align: center;\">\u56fe\u50cf\u5904\u7406<\/td>\n<td style=\"text-align: center;\">pip install pillow<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Scikit-Learn<\/td>\n<td style=\"text-align: center;\">\u673a\u5668\u5b66\u4e60\u548c\u6570\u636e\u6316\u6398<\/td>\n<td style=\"text-align: center;\">pip install sklearn<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Requests<\/td>\n<td style=\"text-align: center;\">HTTP\u534f\u8bae\u8bbf\u95ee\u53ca\u7f51\u7edc\u722c\u866b<\/td>\n<td style=\"text-align: center;\">pip install requests<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Jieba<\/td>\n<td style=\"text-align: center;\">\u4e2d\u6587\u5206\u8bcd<\/td>\n<td style=\"text-align: center;\">pip install jieba<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Beautiful Soup<\/td>\n<td style=\"text-align: center;\">HTML\u548cXML\u89e3\u6790\u5668<\/td>\n<td style=\"text-align: center;\">pip install beautifulsoup4<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Wheel<\/td>\n<td style=\"text-align: center;\">Python\u7b2c\u4e09\u65b9\u5e93\u6587\u4ef6\u6253\u5305\u5de5\u5177<\/td>\n<td style=\"text-align: center;\">pip install wheel<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">PyInstaller<\/td>\n<td style=\"text-align: center;\">\u6253\u5305Python\u6e90\u6587\u4ef6\u4e3a\u53ef\u6267\u884c\u6587\u4ef6<\/td>\n<td style=\"text-align: center;\">pip install pyinstaller<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Django<\/td>\n<td style=\"text-align: center;\">Python\u6700\u6d41\u884c\u7684Web\u5f00\u53d1\u6846\u67b6<\/td>\n<td style=\"text-align: center;\">pip install django<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Flask<\/td>\n<td style=\"text-align: center;\">\u8f7b\u91cf\u7ea7Web\u5f00\u53d1\u6846\u67b6<\/td>\n<td style=\"text-align: center;\">pip install flask<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">WeRoBot<\/td>\n<td style=\"text-align: center;\">\u5fae\u4fe1\u673a\u5668\u4eba\u5f00\u53d1\u6846\u67b6<\/td>\n<td style=\"text-align: center;\">pip install werobot<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">SymPy<\/td>\n<td style=\"text-align: center;\">\u6570\u5b66\u7b26\u53f7\u8ba1\u7b97\u5de5\u5177<\/td>\n<td style=\"text-align: center;\">pip install sympy<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Pandas<\/td>\n<td style=\"text-align: center;\">\u9ad8\u6548\u6570\u636e\u5206\u6790\u548c\u8ba1\u7b97<\/td>\n<td style=\"text-align: center;\">pip install pandas<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Networkx<\/td>\n<td style=\"text-align: center;\">\u590d\u6742\u7f51\u7edc\u548c\u56fe\u7ed3\u6784\u7684\u5efa\u6a21\u548c\u5206\u6790<\/td>\n<td style=\"text-align: center;\">pip install networkx<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">PyQt5<\/td>\n<td style=\"text-align: center;\">\u57fa\u4e8eQt\u7684\u4e13\u4e1a\u7ea7GUI\u5f00\u53d1\u6846\u67b6<\/td>\n<td style=\"text-align: center;\">pip install pyqt5<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">PyOpenGL<\/td>\n<td style=\"text-align: center;\">\u591a\u5e73\u53f0OpenGL\u5f00\u53d1\u63a5\u53e3<\/td>\n<td style=\"text-align: center;\">pip install pyopengl<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">PyPDF2<\/td>\n<td style=\"text-align: center;\">PDF\u6587\u4ef6\u5185\u5bb9\u63d0\u53d6\u53ca\u5904\u7406<\/td>\n<td style=\"text-align: center;\">pip install pypdf2<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">docopt<\/td>\n<td style=\"text-align: center;\">Python\u547d\u4ee4\u884c\u89e3\u6790<\/td>\n<td style=\"text-align: center;\">pip install docopt<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">PyGame<\/td>\n<td style=\"text-align: center;\">\u7b80\u5355\u5c0f\u6e38\u620f\u5f00\u53d1\u6846\u67b6<\/td>\n<td style=\"text-align: center;\">pip install pygame<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>\u4e8c\u3001&quot;\u7b2c\u4e09\u65b9\u5e93\u81ea\u52a8\u5b89\u88c5\u811a\u672c&quot;\u5b9e\u4f8b\u8bb2\u89e3<\/h1>\n<h2>2.1 \u7b2c\u4e09\u65b9\u5e93\u81ea\u52a8\u5b89\u88c5\u811a\u672c<\/h2>\n<pre><code class=\"language-python\"># BatchInstall.py\n\nimport os\n\nlibs = {\n    &quot;numpy&quot;, &quot;matplotlib&quot;, &quot;pillow&quot;, &quot;sklearn&quot;, &quot;requests&quot;, &quot;jieba&quot;,\n    &quot;beautifulsoup4&quot;, &quot;wheel&quot;, &quot;networkx&quot;, &quot;sympy&quot;, &quot;pyinstaller&quot;, &quot;django&quot;,\n    &quot;flask&quot;, &quot;werobot&quot;, &quot;pyqt5&quot;, &quot;pandas&quot;, &quot;pyopengl&quot;, &quot;pypdf2&quot;, &quot;docopt&quot;,\n    &quot;pygame&quot;\n}\n\ntry:\n    for lib in libs:\n        os.system(&quot;pip install &quot; + lib)\n        print(&quot;Successful&quot;)\nexcept:\n    print(&quot;Failed Somehow&quot;)<\/code><\/pre>\n<h1>\u4e09\u3001&quot;\u7b2c\u4e09\u65b9\u5e93\u81ea\u52a8\u5b89\u88c5\u811a\u672c&quot;\u4e3e\u4e00\u53cd\u4e09<\/h1>\n<div id=\"rml_readmorelogin_placeholder\" style=\"position:relative;\"><div id=\"rml_fade_content\" style=\"position: absolute;\r\ntop:-10em;\r\nwidth:100%;\r\nheight:10em;\r\nbackground: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -moz-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -o-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -ms-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\"><\/div><div class=\"wpf-controller aru_rml_from_in_post\" style=\"background-color:#eeeeee;border:5px solid #cce6ff;\" id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><h2 id=\"Header\">\u67e5\u770b\u66f4\u591a<\/h2><div id=\"Message\"><p>\u8054\u7cfb\u7ba1\u7406\u5458\u5fae\u4fe1tutu19192010\uff0c\u6ce8\u518c\u8d26\u53f7<\/p>\n<\/div><div id=\"StatusBarHeader\"><\/div><form id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><input name=\"post_id\" value=\"5299\" type=\"hidden\"\/><input name=\"_init_callback\" value=\"InitLogin\" type=\"hidden\"\/><input name=\"post_id\" value=\"5299\" type=\"hidden\"\/><input name=\"rt_ype\" value=\"1\" type=\"hidden\"\/><input name=\"nonce\" value=\"9f6568c1a5\" type=\"hidden\"\/><input name=\"_wpnonce\" value=\"7fd776cc80\" type=\"hidden\"\/><input name=\"_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_proxy_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_view\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginView\" type=\"hidden\"\/><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\" width=\"400px\"><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Username:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"username\" value=\"\" type=\"text\"\/><\/td><\/tr><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Password:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"password\" value=\"\" type=\"password\"\/><\/td><\/tr><\/tbody><\/table><p class=\"wpf-table-placeholder submit\"><button class=\"wp_plugin_framework_ajax_button\" type=\"button\" style=\"background-color:#4D90FE;;color:#ffffff;;border:1px solid #3079ed;\" name=\"_event\" value=\"ButtonLogin\">Log in<\/button><\/p><\/td><td class=\"wpf-table-placeholder-input\"><\/td><\/tr><\/tbody><\/table><\/form><div id=\"ButtonStartRegister\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=register\">Register<\/a><\/div><div id=\"Link1\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=lostpassword\">Forgotten username or password?<\/a><\/div><div id=\"StatusBarFooter\"><\/div><\/div><\/div><div id=aru_remaining_content><\/div>","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001&quot;\u7b2c\u4e09\u65b9\u5e93\u81ea\u52a8\u5b89\u88c5\u811a\u672c&quot;\u95ee\u9898\u5206\u6790 1.1 \u95ee\u9898\u5206\u6790 \u7b2c\u4e09\u65b9\u5e93\u81ea\u52a8\u5b89\u88c5\u811a\u672c \u9700\u6c42\uff1a\u6279\u91cf\u5b89 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":5241,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[371,383],"tags":[],"_links":{"self":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/5299"}],"collection":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5299"}],"version-history":[{"count":0,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/5299\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/media\/5241"}],"wp:attachment":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}