{"id":93171,"date":"2026-08-12T05:24:57","date_gmt":"2026-08-11T21:24:57","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/93171.html"},"modified":"2026-08-12T05:24:57","modified_gmt":"2026-08-11T21:24:57","slug":"%e9%ba%92%e9%ba%9f%e9%ab%98%e7%ba%a7%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9f-v10-%e6%ba%90%e7%a0%81%e7%bc%96%e8%af%91%e5%ae%89%e8%a3%85-python-3-11-%e5%ae%8c%e6%95%b4%e6%8c%87","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/93171.html","title":{"rendered":"\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf V10 \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 Python 3.11 \u5b8c\u6574\u6307\u5357"},"content":{"rendered":"<p>\u9002\u7528\u73af\u5883&#xff1a;Kylin Linux Advanced Server V10&#xff08;Halberd&#xff09;&#xff0c;x86_64 \u67b6\u6784&#xff0c;RPM \u5305\u7ba1\u7406\u5668&#xff08;YUM&#xff09; Python \u7248\u672c&#xff1a;3.11.15&#xff08;\u53ef\u66ff\u6362\u4e3a\u5176\u4ed6 3.11.x \u5c0f\u7248\u672c&#xff09;<\/p>\n<h2>1. \u80cc\u666f\u4e0e\u9e92\u9e9f\u7cfb\u7edf\u7248\u672c\u8bf4\u660e<\/h2>\n<p>\u9e92\u9e9f\u64cd\u4f5c\u7cfb\u7edf\u5206\u4e3a\u591a\u4e2a\u5206\u652f&#xff1a;<\/p>\n<ul>\n<li>\u684c\u9762\u7248&#xff1a;\u901a\u5e38\u57fa\u4e8e Ubuntu\/Debian&#xff0c;\u4f7f\u7528 apt \u5305\u7ba1\u7406\u5668\u3002<\/li>\n<li>\u670d\u52a1\u5668\u7248&#xff08;Advanced Server&#xff09;&#xff1a;\u57fa\u4e8e Red Hat\/CentOS \u4f53\u7cfb&#xff0c;\u4f7f\u7528 yum\/dnf \u5305\u7ba1\u7406\u5668\u3002<\/li>\n<\/ul>\n<p>\u672c\u6587\u9488\u5bf9\u7684\u662f Kylin Linux Advanced Server V10&#xff08;Halberd&#xff09;&#xff0c;\u5b83\u662f RPM \u7cfb\u53d1\u884c\u7248&#xff0c;\u4e0e CentOS 7\/8 \u9ad8\u5ea6\u517c\u5bb9\u3002\u5982\u679c\u4f60\u7684\u9e92\u9e9f\u7cfb\u7edf\u662f\u684c\u9762\u7248&#xff0c;\u8bf7\u5c06 yum \u66ff\u6362\u4e3a apt&#xff0c;\u5e76\u8c03\u6574\u4f9d\u8d56\u5305\u540d\u79f0&#xff08;\u5982 build-essential\u3001libssl-dev \u7b49&#xff09;\u3002<\/p>\n<p>\u786e\u8ba4\u4f60\u7684\u7cfb\u7edf\u7c7b\u578b&#xff1a;<\/p>\n<p><span class=\"token function\">cat<\/span> \/etc\/os-release<br \/>\n<span class=\"token comment\"># \u82e5\u770b\u5230 Kylin Linux Advanced Server&#xff0c;\u4e14 which yum \u5b58\u5728&#xff0c;\u5219\u6309\u672c\u6587\u64cd\u4f5c\u3002<\/span><br \/>\n<span class=\"token punctuation\">[<\/span>root&#064;localhost ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># cat \/etc\/os-release<\/span><br \/>\n<span class=\"token assign-left variable\">NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Kylin Linux Advanced Server&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">VERSION<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;V10 (Halberd)&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">ID<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;kylin&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">VERSION_ID<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;V10&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">PRETTY_NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Kylin Linux Advanced Server V10 (Halberd)&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">ANSI_COLOR<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;0;31&#034;<\/span><\/p>\n<hr \/>\n<h2>2. \u73af\u5883\u51c6\u5907<\/h2>\n<h3>2.1. \u68c0\u67e5\u7cfb\u7edf\u67b6\u6784\u4e0e\u73b0\u6709 Python \u7248\u672c<\/h3>\n<p><span class=\"token comment\"># \u67b6\u6784<\/span><br \/>\n<span class=\"token function\">uname<\/span> <span class=\"token parameter variable\">-m<\/span>               <span class=\"token comment\"># \u8f93\u51fa x86_64<\/span><br \/>\n<span class=\"token comment\"># \u5305\u7ba1\u7406\u5668<\/span><br \/>\n<span class=\"token function\">which<\/span> yum <span class=\"token operator\">||<\/span> <span class=\"token function\">which<\/span> dnf <span class=\"token comment\"># \u8f93\u51fa \/usr\/bin\/yum<\/span><br \/>\n<span class=\"token comment\"># GCC \u7248\u672c&#xff08;\u7f16\u8bd1\u5fc5\u9700&#xff09;<\/span><br \/>\ngcc <span class=\"token parameter variable\">&#8211;version<\/span>          <span class=\"token comment\"># \u8f93\u51fa 7.3.0&#xff0c;\u6ee1\u8db3 Python 3.11 \u8981\u6c42&#xff08;\u22655.x&#xff09;<\/span><br \/>\n<span class=\"token comment\"># \u73b0\u6709 Python<\/span><br \/>\npython <span class=\"token parameter variable\">-V<\/span>              <span class=\"token comment\"># \u7cfb\u7edf\u81ea\u5e26 Python 2.7<\/span><br \/>\npython3 <span class=\"token parameter variable\">-V<\/span>             <span class=\"token comment\"># \u7cfb\u7edf\u81ea\u5e26 Python 3.7&#xff08;\u4e0d\u8981\u8986\u76d6\u5b83&#xff09;<\/span><\/p>\n<p>\u91cd\u8981&#xff1a;\u7cfb\u7edf\u81ea\u5e26\u7684 Python 3.7 \u88ab yum \u7b49\u7cfb\u7edf\u5de5\u5177\u4f9d\u8d56&#xff0c;\u5207\u52ff\u76f4\u63a5\u8986\u76d6\u6216\u5378\u8f7d\u3002\u6211\u4eec\u5c06\u901a\u8fc7 altinstall \u5b9e\u73b0\u591a\u7248\u672c\u5171\u5b58\u3002<\/p>\n<p>\u83b7\u53d6\u5f53\u524d\u9ed8\u8ba4python\u5b89\u88c5\u60c5\u51b5<\/p>\n<p><span class=\"token punctuation\">[<\/span>root&#064;localhost ~<span class=\"token punctuation\">]<\/span><span class=\"token comment\"># whereis python3<\/span><br \/>\npython3: \/usr\/bin\/python3.7m \/usr\/bin\/python3 \/usr\/bin\/python3.7 \/usr\/bin\/python3.7-config \/usr\/bin\/python3.7m-config \/usr\/bin\/python3.7m-x86_64-config \/usr\/lib\/python3.7 \/usr\/lib64\/python3.7 \/usr\/include\/python3.7m<\/p>\n<h3>2.2. \u5b89\u88c5\u7f16\u8bd1\u4f9d\u8d56&#xff08;\u6838\u5fc3\u5e93&#xff09;<\/h3>\n<p>\u9e92\u9e9f RPM \u6e90\u4e2d\u4e0d\u76f4\u63a5\u63d0\u4f9b Python 3.11 \u5b89\u88c5\u5305&#xff0c;\u56e0\u6b64\u9009\u62e9\u6e90\u7801\u7f16\u8bd1\u3002\u9996\u5148\u5b89\u88c5\u5fc5\u8981\u7684\u5f00\u53d1\u5e93&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> yum update <span class=\"token parameter variable\">-y<\/span><br \/>\n<span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> zlib-devel bzip2-devel openssl-devel sqlite-devel xz-devel libffi-devel<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>openssl-devel&#xff1a;\u786e\u4fdd Python \u652f\u6301 HTTPS&#xff08;pip \u5b89\u88c5\u5305\u5fc5\u9700&#xff09;\u3002<\/li>\n<li>libffi-devel&#xff1a;\u7528\u4e8e ctypes \u6a21\u5757\u3002<\/li>\n<li>\u5176\u4ed6\u5982 ncurses-devel\u3001readline-devel \u5728\u9e92\u9e9f\u9ed8\u8ba4\u6e90\u4e2d\u53ef\u80fd\u7f3a\u5931&#xff0c;\u5b83\u4eec\u4ec5\u5f71\u54cd\u4ea4\u4e92\u5f0f\u7ec8\u7aef\u7684\u4f53\u9a8c&#xff08;\u4e0a\u4e0b\u952e\u5386\u53f2\u3001\u8865\u5168&#xff09;&#xff0c;\u4e0d\u53c2\u4e0e\u6838\u5fc3\u7f16\u8bd1&#xff0c;\u53ef\u5ffd\u7565\u3002<\/li>\n<\/ul>\n<p>\u5982\u679c\u4f60\u5e0c\u671b\u62e5\u6709\u5b8c\u6574\u7684\u4ea4\u4e92\u5f0f\u529f\u80fd&#xff0c;\u53ef\u5c1d\u8bd5\u66ff\u4ee3\u5305&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> ncurses-libs readline-static   <span class=\"token comment\"># \u4e0d\u4e00\u5b9a\u6210\u529f&#xff0c;\u4e0d\u5f71\u54cd\u7f16\u8bd1<\/span><\/p>\n<hr \/>\n<h2>3. \u4e0b\u8f7d\u5b89\u88c5Python 3.11<\/h2>\n<h3>3.1. \u4e0b\u8f7d\u5e76\u89e3\u538b Python 3.11 \u6e90\u7801<\/h3>\n<p>\u524d\u5f80 Python \u5b98\u65b9\u4e0b\u8f7d\u9875 \u6216\u76f4\u63a5\u4f7f\u7528 wget \u83b7\u53d6&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> \/home\/hty\/python   <span class=\"token comment\"># \u4f60\u7684\u5de5\u4f5c\u76ee\u5f55<\/span><br \/>\n<span class=\"token function\">wget<\/span> https:\/\/www.python.org\/ftp\/python\/3.11.15\/Python-3.11.15.tgz<br \/>\n<span class=\"token function\">tar<\/span> <span class=\"token parameter variable\">-xzvf<\/span> Python-3.11.15.tgz<br \/>\n<span class=\"token builtin class-name\">cd<\/span> Python-3.11.15<\/p>\n<p>\u5982\u679c\u670d\u52a1\u5668\u662f\u79bb\u7ebf\u72b6\u6001&#xff0c;\u5219\u901a\u8fc7\u5ba2\u6237\u7aef\u4e0b\u8f7d\u5b89\u88c5\u5305&#xff0c;\u7136\u540e\u4e0a\u4f20\u5230\u670d\u52a1\u5668&#xff0c;\u6211\u4f7f\u7528\u7684\u5de5\u5177\u5982\u4e0b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260811212455-6a7b9327ee515.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>3.2. \u914d\u7f6e\u7f16\u8bd1\u9009\u9879<\/h3>\n<p>.\/configure <span class=\"token parameter variable\">&#8211;prefix<\/span><span class=\"token operator\">&#061;<\/span>\/usr\/local\/python3.11 &#8211;enable-optimizations<\/p>\n<ul>\n<li>&#8211;prefix&#xff1a;\u6307\u5b9a\u5b89\u88c5\u76ee\u5f55&#xff0c;\u65b9\u4fbf\u5378\u8f7d\u548c\u7ba1\u7406\u3002<\/li>\n<li>&#8211;enable-optimizations&#xff1a;\u542f\u7528 PGO&#xff08;\u6027\u80fd\u4f18\u5316&#xff09;&#xff0c;\u7f16\u8bd1\u65f6\u95f4\u7a0d\u957f\u4f46\u8fd0\u884c\u66f4\u5feb\u3002<\/li>\n<\/ul>\n<p>\u68c0\u67e5\u914d\u7f6e\u8f93\u51fa&#xff1a;<\/p>\n<ul>\n<li>\u5173\u6ce8 checking whether the C compiler works&#8230; yes \u548c checking for &#8211;enable-optimizations&#8230; yes \u7b49\u5173\u952e\u9879\u3002<\/li>\n<li>\u5927\u91cf checking &#8230; no \u5c5e\u4e8e\u6b63\u5e38\u7684\u8de8\u5e73\u53f0\u63a2\u6d4b&#xff0c;\u975e\u9519\u8bef&#xff0c;\u53ef\u5ffd\u7565\u3002<\/li>\n<\/ul>\n<h3>3.3. \u7f16\u8bd1\u4e0e\u5b89\u88c5<\/h3>\n<p><span class=\"token comment\"># \u5229\u7528\u591a\u6838\u52a0\u901f\u7f16\u8bd1&#xff08;nproc \u83b7\u53d6 CPU \u6838\u6570&#xff09;<\/span><br \/>\n<span class=\"token function\">make<\/span> -j<span class=\"token variable\"><span class=\"token variable\">$(<\/span>nproc<span class=\"token variable\">)<\/span><\/span><\/p>\n<p><span class=\"token comment\"># \u91cd\u8981&#xff1a;\u4f7f\u7528 altinstall \u907f\u514d\u8986\u76d6\u7cfb\u7edf python3<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">make<\/span> altinstall<\/p>\n<p>\u5b89\u88c5\u540e&#xff0c;Python 3.11 \u53ef\u6267\u884c\u6587\u4ef6\u4f4d\u4e8e \/usr\/local\/python3.11\/bin\/python3.11\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u9a8c\u8bc1\u5b89\u88c5<\/h3>\n<p>\/usr\/local\/python3.11\/bin\/python3.11 <span class=\"token parameter variable\">&#8211;version<\/span><br \/>\n<span class=\"token comment\"># Python 3.11.15<\/span><\/p>\n<p>\/usr\/local\/python3.11\/bin\/pip3.11 list<br \/>\n<span class=\"token comment\"># pip 24.0, setuptools 79.0.1  (\u81ea\u52a8\u5b89\u88c5)<\/span><\/p>\n<h3>3.4. \u521b\u5efa\u8f6f\u94fe\u63a5&#xff08;\u53ef\u9009&#xff09;<\/h3>\n<p>\u4e3a\u65b9\u4fbf\u4f7f\u7528&#xff0c;\u5efa\u7acb\u5168\u5c40\u547d\u4ee4\u94fe\u63a5&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">ln<\/span> <span class=\"token parameter variable\">-s<\/span> \/usr\/local\/python3.11\/bin\/python3.11 \/usr\/bin\/python3.11<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">ln<\/span> <span class=\"token parameter variable\">-s<\/span> \/usr\/local\/python3.11\/bin\/pip3.11 \/usr\/bin\/pip3.11<\/p>\n<p>\u6ce8\u610f&#xff1a;\u4e0d\u8981\u5c06 \/usr\/bin\/python3 \u94fe\u63a5\u5230\u65b0\u7248\u672c&#xff0c;\u4ee5\u514d\u7834\u574f\u7cfb\u7edf\u5de5\u5177\u3002<\/p>\n<hr \/>\n<h2>4. \u5b89\u88c5\u7b2c\u4e09\u65b9\u5305&#xff08;\u4ee5 NumPy\/SciPy \u4e3a\u4f8b&#xff09;<\/h2>\n<p>\u56e0\u5185\u7f51\u73af\u5883\u6216\u901f\u5ea6\u95ee\u9898&#xff0c;\u53ef\u4f7f\u7528\u6e05\u534e\u955c\u50cf\u6e90\u4e0b\u8f7d\u79bb\u7ebf\u5305\u6216\u76f4\u63a5\u5728\u7ebf\u5b89\u88c5&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260811212456-6a7b93287bd55.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><span class=\"token comment\"># \u5728\u7ebf\u5b89\u88c5&#xff08;\u4f7f\u7528\u955c\u50cf&#xff09;<\/span><br \/>\n\/usr\/local\/python3.11\/bin\/pip3.11 <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-i<\/span> https:\/\/pypi.tuna.tsinghua.edu.cn\/simple numpy scipy<\/p>\n<p><span class=\"token comment\"># \u79bb\u7ebf\u5b89\u88c5&#xff08;\u63d0\u524d\u4e0b\u8f7d whl \u6587\u4ef6&#xff09;<\/span><br \/>\n\/usr\/local\/python3.11\/bin\/pip3.11 <span class=\"token function\">install<\/span> numpy-2.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl<br \/>\n\/usr\/local\/python3.11\/bin\/pip3.11 <span class=\"token function\">install<\/span> scipy-1.15.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl<\/p>\n<p>\u4e0b\u8f7d\u79bb\u7ebf\u5b89\u88c5\u5305 https:\/\/pypi.tuna.tsinghua.edu.cn\/simple\/numpy\/<\/p>\n<hr \/>\n<h2>5. \u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/h2>\n<h3>Q1&#xff1a;yum install python3.11 \u627e\u4e0d\u5230\u5305&#xff1f;<\/h3>\n<ul>\n<li>\u539f\u56e0&#xff1a;\u9e92\u9e9f\u5b98\u65b9\u6e90\u672a\u6536\u5f55 Python 3.11\u3002<\/li>\n<li>\u89e3\u51b3&#xff1a;\u91c7\u7528\u672c\u6587\u7684\u6e90\u7801\u7f16\u8bd1\u65b9\u5f0f\u3002<\/li>\n<\/ul>\n<h3>Q2&#xff1a;.\/configure \u62a5\u9519 curses.h \u6216 readline \u627e\u4e0d\u5230&#xff1f;<\/h3>\n<ul>\n<li>\u539f\u56e0&#xff1a;\u7f3a\u5c11 ncurses-devel \/ readline-devel\u3002<\/li>\n<li>\u5f71\u54cd&#xff1a;\u4ec5\u5f71\u54cd\u4ea4\u4e92\u5f0f\u4f53\u9a8c&#xff08;\u5386\u53f2\u547d\u4ee4\u3001\u8865\u5168&#xff09;\u3002<\/li>\n<li>\u89e3\u51b3&#xff1a;\u53ef\u5ffd\u7565&#xff0c;\u6216\u5b89\u88c5 rlwrap \u5f25\u8865&#xff1a;<span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> rlwrap<br \/>\n<span class=\"token builtin class-name\">alias<\/span> <span class=\"token assign-left variable\">python3.11<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;rlwrap \/usr\/local\/python3.11\/bin\/python3.11&#039;<\/span>\n <\/li>\n<\/ul>\n<h3>Q3&#xff1a;make \u8fc7\u7a0b\u4e2d\u62a5\u9519 ssl \u76f8\u5173&#xff1f;<\/h3>\n<ul>\n<li>\u539f\u56e0&#xff1a;openssl-devel \u672a\u5b89\u88c5\u6216\u7248\u672c\u8fc7\u4f4e\u3002<\/li>\n<li>\u89e3\u51b3&#xff1a;\u786e\u8ba4 sudo yum install openssl-devel \u5df2\u6267\u884c\u3002<\/li>\n<\/ul>\n<h3>Q4&#xff1a;pip \u65e0\u6cd5\u4f7f\u7528&#xff08;SSL \u9519\u8bef&#xff09;&#xff1f;<\/h3>\n<ul>\n<li>\u539f\u56e0&#xff1a;\u7f16\u8bd1\u65f6\u672a\u68c0\u6d4b\u5230 OpenSSL\u3002<\/li>\n<li>\u89e3\u51b3&#xff1a;\u68c0\u67e5 \/usr\/local\/python3.11\/bin\/python3.11 -c &#034;import ssl; print(ssl.OPENSSL_VERSION)&#034;&#xff0c;\u82e5\u65e0\u8f93\u51fa\u5219\u9700\u91cd\u65b0\u7f16\u8bd1\u5e76\u786e\u4fdd openssl-devel \u5b89\u88c5\u3002<\/li>\n<\/ul>\n<hr \/>\n<h2>6. \u603b\u7ed3<\/h2>\n<p>\u901a\u8fc7\u6e90\u7801\u7f16\u8bd1&#xff0c;\u6211\u4eec\u6210\u529f\u5728\u9e92\u9e9f V10&#xff08;RPM \u7cfb&#xff09;\u4e0a\u5b89\u88c5\u4e86 Python 3.11&#xff0c;\u4e14\u4e0d\u5f71\u54cd\u7cfb\u7edf\u539f\u751f Python \u73af\u5883\u3002\u6b64\u65b9\u6cd5\u540c\u6837\u9002\u7528\u4e8e CentOS\u3001Rocky Linux \u7b49 RHEL \u517c\u5bb9\u53d1\u884c\u7248&#xff0c;\u53ea\u9700\u8c03\u6574\u4f9d\u8d56\u5305\u540d\u79f0\u5373\u53ef\u3002<\/p>\n<p>\u82e5\u4f60\u7684\u9e92\u9e9f\u7cfb\u7edf\u4e3a Debian \u7cfb&#xff08;\u684c\u9762\u7248&#xff09;&#xff0c;\u8bf7\u53c2\u7167&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> build-essential libssl-dev libffi-dev python3-dev<br \/>\n<span class=\"token comment\"># \u540e\u7eed\u6e90\u7801\u7f16\u8bd1\u6b65\u9aa4\u76f8\u540c<\/span><\/p>\n<hr \/>\n<p>\u53c2\u8003\u8d44\u6599&#xff1a;<\/p>\n<ul>\n<li>Python \u5b98\u65b9\u6e90\u7801&#xff1a;https:\/\/www.python.org\/downloads\/<\/li>\n<li>\u6e05\u534e PyPI \u955c\u50cf&#xff1a;https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/li>\n<\/ul>\n<p>\u6700\u540e\u9a8c\u8bc1&#xff1a;\u8fd0\u884c python3.11 -c &#034;print(&#039;Hello, Kylin!&#039;)&#034;&#xff0c;\u770b\u5230\u8f93\u51fa\u5373\u5b89\u88c5\u6210\u529f&#xff01;&#x1f389;<\/p>\n<hr \/>\n<p>\u672c\u6559\u7a0b\u6839\u636e\u5b9e\u9645\u73af\u5883&#xff08;Kylin V10 Halberd&#xff09;\u5b9e\u6d4b\u901a\u8fc7&#xff0c;\u5982\u6709\u7591\u95ee\u6b22\u8fce\u7559\u8a00\u4ea4\u6d41\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9002\u7528\u73af\u5883&#xff1a;Kylin Linux Advanced Server V10&#xff08;Halberd&#xff09;&#xff0c;x86_64 \u67b6\u6784&#xff0c;RPM \u5305\u7ba1\u7406\u5668&#xff08;YUM&#xff09; Python \u7248\u672c&#xff1a;3.11.15&#xff08;\u53ef\u66ff\u6362\u4e3a\u5176\u4ed6 3.11.x \u5c0f\u7248\u672c&#xff09; 1. \u80cc\u666f\u4e0e\u9e92\u9e9f\u7cfb\u7edf\u7248\u672c\u8bf4\u660e<br \/>\n\u9e92\u9e9f\u64cd\u4f5c\u7cfb\u7edf\u5206\u4e3a\u591a\u4e2a\u5206\u652f&#xff1a;<br \/>\n\u684c\u9762\u7248&#xff1a;\u901a\u5e38\u57fa\u4e8e Ubuntu\/De<\/p>\n","protected":false},"author":2,"featured_media":93169,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,43,2088],"topic":[],"class_list":["post-93171","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-python","tag-43","tag-2088"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf V10 \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 Python 3.11 \u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/93171.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf V10 \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 Python 3.11 \u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u9002\u7528\u73af\u5883&#xff1a;Kylin Linux Advanced Server V10&#xff08;Halberd&#xff09;&#xff0c;x86_64 \u67b6\u6784&#xff0c;RPM \u5305\u7ba1\u7406\u5668&#xff08;YUM&#xff09; Python \u7248\u672c&#xff1a;3.11.15&#xff08;\u53ef\u66ff\u6362\u4e3a\u5176\u4ed6 3.11.x \u5c0f\u7248\u672c&#xff09; 1. \u80cc\u666f\u4e0e\u9e92\u9e9f\u7cfb\u7edf\u7248\u672c\u8bf4\u660e \u9e92\u9e9f\u64cd\u4f5c\u7cfb\u7edf\u5206\u4e3a\u591a\u4e2a\u5206\u652f&#xff1a; \u684c\u9762\u7248&#xff1a;\u901a\u5e38\u57fa\u4e8e Ubuntu\/De\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/93171.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-11T21:24:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260811212455-6a7b9327ee515.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/93171.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/93171.html\",\"name\":\"\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf V10 \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 Python 3.11 \u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-11T21:24:57+00:00\",\"dateModified\":\"2026-08-11T21:24:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/93171.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/93171.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/93171.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf V10 \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 Python 3.11 \u5b8c\u6574\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf V10 \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 Python 3.11 \u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/93171.html","og_locale":"zh_CN","og_type":"article","og_title":"\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf V10 \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 Python 3.11 \u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u9002\u7528\u73af\u5883&#xff1a;Kylin Linux Advanced Server V10&#xff08;Halberd&#xff09;&#xff0c;x86_64 \u67b6\u6784&#xff0c;RPM \u5305\u7ba1\u7406\u5668&#xff08;YUM&#xff09; Python \u7248\u672c&#xff1a;3.11.15&#xff08;\u53ef\u66ff\u6362\u4e3a\u5176\u4ed6 3.11.x \u5c0f\u7248\u672c&#xff09; 1. \u80cc\u666f\u4e0e\u9e92\u9e9f\u7cfb\u7edf\u7248\u672c\u8bf4\u660e \u9e92\u9e9f\u64cd\u4f5c\u7cfb\u7edf\u5206\u4e3a\u591a\u4e2a\u5206\u652f&#xff1a; \u684c\u9762\u7248&#xff1a;\u901a\u5e38\u57fa\u4e8e Ubuntu\/De","og_url":"https:\/\/www.wsisp.com\/helps\/93171.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-11T21:24:57+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260811212455-6a7b9327ee515.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/93171.html","url":"https:\/\/www.wsisp.com\/helps\/93171.html","name":"\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf V10 \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 Python 3.11 \u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-11T21:24:57+00:00","dateModified":"2026-08-11T21:24:57+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/93171.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/93171.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/93171.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u9e92\u9e9f\u9ad8\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf V10 \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5 Python 3.11 \u5b8c\u6574\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/93171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=93171"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/93171\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/93169"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=93171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=93171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=93171"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=93171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}