{"id":3484,"date":"2019-12-22T21:23:18","date_gmt":"2019-12-22T13:23:18","guid":{"rendered":"http:\/\/www.zhushiyao.com\/?p=3484"},"modified":"2019-12-22T21:24:03","modified_gmt":"2019-12-22T13:24:03","slug":"0f4a7c67d8","status":"publish","type":"post","link":"http:\/\/www.zhushiyao.com\/?p=3484","title":{"rendered":"\u5220\u9664\u7cfb\u7edf Python \u5f15\u53d1\u7684\u60e8\u6848"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<blockquote style=\"white-space: normal; font-variant-ligatures: normal; orphans: 2; widows: 2;\"><p><span style=\"font-size: 14px;\">\u6765\u6e90\uff1a<\/span><span style=\"font-size: 14px;\">\u00a0fanzhenyu<\/span><\/p>\n<p><span style=\"font-size: 14px;\">http:\/\/fanzhenyu.cn\/<\/span><\/p><\/blockquote>\n<p style=\"margin-right: 0.5em; margin-left: 0.5em; max-width: 100%; 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; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><img decoding=\"async\" class=\"\" style=\"box-sizing: border-box !important; overflow-wrap: break-word !important; width: 677px !important; visibility: visible !important;\" title=\"\u5220\u9664\u7cfb\u7edf Python \u5f15\u53d1\u7684\u60e8\u6848\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2019\/12\/2-1577020999.jpeg\" alt=\"\u5220\u9664\u7cfb\u7edf Python \u5f15\u53d1\u7684\u60e8\u6848\" \/><\/p>\n<blockquote style=\"margin: 0px 0.5em 1.2em; padding: 15px 15px 15px 1rem; border-left-width: 6px; border-left-color: #dce6f0; color: #819198; font-size: 14px; max-width: 100%; letter-spacing: 0.544px; white-space: normal; line-height: 20px; background: #f2f7fb; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<p style=\"max-width: 100%; min-height: 1em; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u8fd9\u4e2a\u6848\u4f8b\u544a\u8bc9\u6211\u4eec\uff0c\u5343\u4e07\u4e0d\u8981\u52a8\u7cfb\u7edf\u81ea\u5e26\u7684 Python\uff0cWin\u7cfb\u7edf\u9664\u5916<\/span><\/p>\n<\/blockquote>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: center; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u7531\u4e8e\u65e0\u77e5\uff0c\u5378\u8f7d Ubuntu \u81ea\u5e26\u7684 python3 \u5f15\u53d1\u60e8\u6848\uff0c\u8c28\u8bb0\uff0c\u6df1\u523b\u53cd\u601d\u3002<\/span><\/p>\n<h4 style=\"margin: 1.5rem 0.5em 1rem; font-weight: bold; font-size: 15px; max-width: 100%; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; line-height: 1.35; counter-reset: h5 0; text-align: left; box-sizing: border-box !important; overflow-wrap: break-word !important; font-family: 'Helvetica Neue', 'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', \u5fae\u8f6f\u96c5\u9ed1, sans-serif !important; color: #0e80cd !important;\"><span style=\"max-width: 100%; font-size: 15px; color: #ff0000; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u60e8\u6848<\/span><\/h4>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u7531\u4e8e\u5b9e\u9a8c\u9700\u8981\u4f7f\u7528 Python3.6 \u4ee5\u4e0a\u7248\u672c\uff0c\u4e8e\u662f\u51b3\u5b9a\u5378\u8f7d Python3.5\u3002<\/span><\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: none;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u5378\u8f7d python3.5<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo apt-<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">get<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"> remove python3.<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #df5320; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">5<\/span><\/code><\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u6ca1\u7528\uff0c\u7ec8\u7aef\u8f93\u5165 python3 \u8fd8\u662f\u53ef\u4ee5\u4f7f\u7528\u3002\u4e8e\u662f\uff0c\u7f51\u4e0a\u67e5\u627e\u5378\u8f7dpython3.5\u7684\u65b9\u6cd5\uff1a<\/span><\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: none;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u5378\u8f7d python3.5 \u53ca\u5176\u4f9d\u8d56<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo apt-<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">get<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"> remove --<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">auto<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">-remove python3.<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #df5320; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">5<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u6e05\u9664 python3.5<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo apt-<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">get<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"> purge python3.<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #df5320; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">5<\/span><\/code><\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">or<\/span><\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: none;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo apt-<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">get<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"> purge --<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">auto<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">-remove python3.<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #df5320; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">5<\/span><\/code><\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u63a5\u4e0b\u6765\uff0c\u7ec8\u7aef\u8f93\u5165 python3 \u4f9d\u7136\u8fd8\u662f\u53ef\u4ee5\u4f7f\u7528\u3002<\/span><\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: none;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u5220\u9664\u94fe\u63a5<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">sudo rm \/usr\/bin\/python3<\/span><\/code><\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u7136\u540e\uff0c\u7a81\u7136\u53d1\u73b0\u4fa7\u8fb9\u83dc\u5355\u680f\u53d8\u7070\uff0c\u611f\u89c9\u4e0d\u5bf9\u52b2\uff0c\u91cd\u542f\u3002\u7136\u540e\uff0c\u4fa7\u8fb9\u83dc\u5355\u680f\u4e0d\u89c1\u4e86\uff0c\u53f3\u952e\u8fde\u6253\u5f00\u7ec8\u7aef\u7684\u9009\u9879\u90fd\u6ca1\u6709\u4e86\u3002<\/span><\/p>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: center; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><img decoding=\"async\" class=\"\" style=\"border-radius: 6px; top: 0px; left: 0px; right: 0px; bottom: 0px; box-sizing: border-box !important; overflow-wrap: break-word !important; width: 350px !important; visibility: visible !important; border: 2px solid #eeeeee;\" title=\"\u5220\u9664\u7cfb\u7edf Python \u5f15\u53d1\u7684\u60e8\u6848\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2019\/12\/2-1577020999-1.jpeg\" alt=\"\u5220\u9664\u7cfb\u7edf Python \u5f15\u53d1\u7684\u60e8\u6848\" \/><\/p>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u4e8e\u662f\uff0c\u67e5\u627e\u89e3\u51b3\u65b9\u6848\uff1a<\/span><\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: none;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u5207\u6362\u5230\u547d\u4ee4\u884c\u6a21\u5f0f<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">ctrl+alt+t<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u5931\u8d25\uff0c\u518d\u6b21\u5c1d\u8bd5<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">ctrl+alt+F1<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u6210\u529f<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo apt install -f<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u91cd\u65b0\u5b89\u88c5\u684c\u9762<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo apt-<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">get<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">-f install ubuntu-minimal ubuntu-standard ubuntu-desktop<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u91cd\u542f<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo reboot<\/span><\/code><\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u91cd\u542f\u540e\uff0c\u83dc\u5355\u680f\u53c8\u51fa\u73b0\u4e86\u3002\u4f46\u662f\uff0c\u7ec8\u7aef\u4f9d\u7136\u6ca1\u6709\u3002\u53ef\u4ee5\u5728 xterm \u6216\u8005 \u4e2d\u5c1d\u8bd5\u5b89\u88c5\uff1a<\/span><\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: none;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo apt install gnome-terminal<\/span><\/code><\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u4f46\u662f\uff0c\u4e00\u822c\u662f\u4e0d\u8d77\u4f5c\u7528\u7684\uff0c\u8fd8\u662f\u6253\u4e0d\u5f00\u3002\u7531\u4e8e\u7cfb\u7edf\u4e2d\u5f88\u591a\u8f6f\u4ef6\u90fd\u662f\u4f9d\u8d56 python3\uff0c\u6240\u4ee5\u5378\u8f7d\u4e86 python3 \u5bfc\u81f4\u4e86\u7cfb\u7edf\u5d29\u6e83\u3002\u5373\u4f7f\u5b89\u88c5\u4e86 python3.6+ \u5e76\u8bbe\u7f6e\u4e86 python3 \u7684\u8f6f\u8fde\u63a5\uff0c\u4f9d\u7136\u4e0d\u884c\u3002<\/span><\/p>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u53ef\u4ee5\u5c1d\u8bd5\u91cd\u88c5 python3.5\uff0c\u7136\u540e\u8bbe\u7f6e python3 \u8f6f\u8fde\u63a5\u3002\u4e5f\u53ef\u4ee5\u5c1d\u8bd5\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"list-style-type: square; margin-left: 0.5em; margin-right: 0.5em;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">https:\/\/blog.csdn.net\/tao_627\/article\/details\/91042809<\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">https:\/\/blog.csdn.net\/qs521\/article\/details\/98945938<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u60e8\u6848\u53d1\u751f\u540e\uff0c\u5373\u4f7f\u83dc\u5355\u680f\u56de\u6765\u4e86\uff0c\u7ec8\u7aef\u6216\u8bb8\u4e5f\u80fd\u6253\u5f00\u4e86\uff0c\u4f46\u662f\u4f7f\u7528 apt \u5b89\u88c5\u8f6f\u4ef6\u4e00\u76f4\u62a5 dpkg \u7684\u9519\u8bef\uff0c\u627e\u4e86\u5f88\u591a\u65b9\u6cd5\u4e5f\u6ca1\u6709\u89e3\u51b3\uff0c\u6240\u4ee5\u8fd8\u662f\u51b3\u5b9a\u91cd\u65b0\u88c5\u7cfb\u7edf\u4e86\u3002<\/span><\/p>\n<h4 style=\"margin: 1.5rem 0.5em 1rem; font-weight: bold; font-size: 15px; max-width: 100%; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; line-height: 1.35; counter-reset: h5 0; text-align: left; box-sizing: border-box !important; overflow-wrap: break-word !important; font-family: 'Helvetica Neue', 'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', \u5fae\u8f6f\u96c5\u9ed1, sans-serif !important; color: #0e80cd !important;\"><span style=\"max-width: 100%; font-size: 15px; color: #ff0000; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u6b63\u786e\u5b89\u88c5 Python 3.6+<\/span><\/h4>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u6b63\u786e\u7684\u65b9\u5f0f\u5c31\u662f\u4e0d\u8981\u8f7b\u6613\u5220\u9664 python3 \u53ca\u5176\u4f9d\u8d56\u3002\u7279\u522b\u662f\u4e0d\u8981\u5220\u9664\u4f9d\u8d56\u3002\u5728 Ubuntu16.04 \u4e2d\u4fee\u6539 python3 \u6307\u5411 3.6+ \u7248\u672c\u4ee5\u540e\uff0c\u67d0\u4e9b\u8f6f\u4ef6\u4f1a\u65e0\u6cd5\u4f7f\u7528\uff0c\u6bd4\u5982\u7ec8\u7aef\uff0c\u9700\u8981\u4f7f\u7528\u4e0a\u9762\u8fde\u63a5\u7684\u65b9\u6cd5\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u3002<\/span><\/p>\n<blockquote style=\"margin-right: 0.5em; margin-bottom: 1.2em; margin-left: 0.5em; padding: 15px 15px 15px 1rem; border-left-width: 6px; border-left-color: #dce6f0; color: #819198; font-size: 14px; max-width: 100%; letter-spacing: 0.544px; white-space: normal; line-height: 20px; background: #f2f7fb; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<p style=\"max-width: 100%; min-height: 1em; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u8fd9\u91cc\u7f16\u7a0b\u6d3e\u66f4\u63a8\u8350\u7684\u65b9\u6848\u662f\u901a\u8fc7 pyenv \u5b89\u88c5 3.6+\u7248\u672c\u3002<\/span><\/p>\n<\/blockquote>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u5b89\u88c5 Python3.6+ \u4ee5\u4e0a\u7248\u672c\u7684\u6b63\u786e\u59ff\u52bf\uff1a<\/span><\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: none;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u4ece\u5b98\u7f51\u4e0b\u8f7d\u5bf9\u5e94\u7248\u672c\u7684\u6e90\u7801<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">https:<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">\/\/www.python.org\/downloads\/source\/<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u89e3\u538b<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ tar -zxvf xxxxx<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ cd xxxx<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u521b\u5efa\u5b89\u88c5\u76ee\u5f55<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo mkdir -p \/usr\/<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">local<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">\/python3<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u914d\u7f6e\u3001\u7f16\u8bd1\u3001\u5b89\u88c5<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ .\/configure --preifx=<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #7b9726; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">\/usr\/<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">local<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">\/python3 --enable-optimizations<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ make<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ sudo make install<\/span><\/code><\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u5b89\u88c5\u4ee5\u540e\uff0c\u4e0d\u4fee\u6539 python3 \u7684\u6307\u5411\uff0c\u53ef\u4ee5\u4e3a python3.6+ \u7248\u672c\u6307\u5b9a\u4e0d\u540c\u7684\u94fe\u63a5\u540d\uff1a<\/span><\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: none;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u6dfb\u52a0 python37 \u7684\u8f6f\u94fe\u63a5<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ ln -s \/usr\/<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">local<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">\/python3\/bin\/python3.<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #df5320; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">7<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">\/usr\/bin\/python37<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #9c9491; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\"># \u6dfb\u52a0 pip3 \u7684\u8f6f\u94fe\u63a5\uff08\u8fd9\u6837pip3\u5c31\u662fpython3.7\u4e13\u7528\u7684\uff0c\u4e5f\u53ef\u4ee5\u8d77\u540d\u4e3a pip37\uff0c\u4e0d\u5f71\u54cdpython3.5\u7684pip3\uff09<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ ln -s \/usr\/<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #6666ea; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">local<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">\/python3\/bin\/pip3.<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #df5320; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">7<\/span><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">\/usr\/bin\/pip3<\/span><\/code><\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u68c0\u6d4b\u7248\u672c\uff0c\u67e5\u770b\u662f\u5426\u6210\u529f\uff1a<\/span><\/p>\n<ol class=\"list-paddingleft-2\" style=\"list-style-type: none;\">\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ python37 -V<\/span><\/code><\/span><\/p>\n<\/li>\n<li>\n<p style=\"max-width: 100%; min-height: 1em; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; color: #4a4a4a; display: block; font-size: 14px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important;\"><code style=\"margin-left: -20px; max-width: 100%; overflow-wrap: normal; display: flex; overflow: initial; line-height: 12px; font-size: 10px; box-sizing: border-box !important; font-family: inherit !important; border: 0px initial initial;\"><span class=\"\" style=\"max-width: 100%; display: block; color: #1b1918; line-height: 20px; box-sizing: border-box !important; overflow-wrap: break-word !important; word-break: inherit !important; white-space: inherit !important;\">$ pip3 -V<\/span><\/code><\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><img decoding=\"async\" class=\"\" style=\"border-radius: 6px; top: 0px; left: 0px; right: 0px; bottom: 0px; box-sizing: border-box !important; overflow-wrap: break-word !important; width: 677px !important; visibility: visible !important; border: 2px solid #eeeeee;\" title=\"\u5220\u9664\u7cfb\u7edf Python \u5f15\u53d1\u7684\u60e8\u6848\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2019\/12\/5-1577020999-1.jpeg\" alt=\"\u5220\u9664\u7cfb\u7edf Python \u5f15\u53d1\u7684\u60e8\u6848\" \/><\/p>\n<p style=\"margin: 15px 0.5em; max-width: 100%; min-height: 1em; letter-spacing: 0.544px; background-color: #ffffff; font-size: 15px; white-space: pre-line; line-height: 30px; color: #4a4a4a; font-family: \u5fae\u8f6f\u96c5\u9ed1, sans-serif; text-align: start; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u91cd\u65b0\u5b89\u88c5\u7cfb\u7edf\u3001\u8f6f\u4ef6\u3001\u642d\u5efa\u5b9e\u9a8c\u73af\u5883\uff0c\u771f\u7684\u662f\u5fc3\u7d2f\u554a\u3002\u8c28\u8bb0\uff0c\u4ee5\u540e\u4e0d\u8981\u968f\u4fbf\u5378\u8f7d\u7cfb\u7edf\u81ea\u5e26\u8f6f\u4ef6\uff0c\u7279\u522b\u662f\u4e0d\u8981\u76f8\u4fe1\u67d0\u4e9b\u535a\u5ba2\u5199\u7684\u5f7b\u5e95\u6e05\u9664xxx\u53ca\u5176\u4f9d\u8d56\u7684\u64cd\u4f5c\u3002<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6765\u6e90\uff1a\u00a0fanzhenyu http:\/\/fanzhenyu.cn\/ \u8fd9\u4e2a\u6848\u4f8b\u544a\u8bc9\u6211\u4eec\uff0c\u5343\u4e07\u4e0d\u8981\u52a8\u7cfb\u7edf\u81ea\u5e26\u7684  &hellip; <a href=\"http:\/\/www.zhushiyao.com\/?p=3484\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u5220\u9664\u7cfb\u7edf Python \u5f15\u53d1\u7684\u60e8\u6848\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[8],"_links":{"self":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/3484"}],"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=3484"}],"version-history":[{"count":2,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/3484\/revisions"}],"predecessor-version":[{"id":3491,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/3484\/revisions\/3491"}],"wp:attachment":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3484"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}