{"id":1170794,"date":"2025-01-15T16:27:00","date_gmt":"2025-01-15T08:27:00","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1170794.html"},"modified":"2025-01-15T16:27:03","modified_gmt":"2025-01-15T08:27:03","slug":"linux%e5%a6%82%e4%bd%95%e8%a3%85python3","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1170794.html","title":{"rendered":"linux\u5982\u4f55\u88c5python3"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26073330\/7a50d093-6b1c-4ea0-8dc4-459ae7ca284e.webp\" alt=\"linux\u5982\u4f55\u88c5python3\" \/><\/p>\n<p><p> <strong>Linux\u5982\u4f55\u88c5Python3\uff1f<\/strong> \u53ef\u4ee5\u901a\u8fc7<strong>\u5305\u7ba1\u7406\u5668\u5b89\u88c5\u3001\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5<\/strong>\u7b49\u65b9\u5f0f\u6765\u5b89\u88c5Python3\u3002\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5\u662f\u6700\u4e3a\u4fbf\u6377\u7684\u65b9\u5f0f\uff0c\u800c\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5\u5219\u9002\u7528\u4e8e\u9700\u8981\u7279\u5b9a\u7248\u672c\u6216\u81ea\u5b9a\u4e49\u914d\u7f6e\u7684\u7528\u6237\u3002<strong>\u5305\u7ba1\u7406\u5668\u5b89\u88c5<\/strong>\u662f\u6700\u5e38\u89c1\u548c\u63a8\u8350\u7684\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5b83\u80fd\u591f\u786e\u4fdd\u5b89\u88c5\u7684Python\u7248\u672c\u4e0e\u7cfb\u7edf\u7684\u517c\u5bb9\u6027\uff0c\u5e76\u4e14\u65b9\u4fbf\u540e\u7eed\u7684\u66f4\u65b0\u548c\u7ba1\u7406\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5305\u7ba1\u7406\u5668\u5b89\u88c5<\/h3>\n<\/p>\n<p><h4>1. \u4f7f\u7528APT\u5305\u7ba1\u7406\u5668\uff08\u9002\u7528\u4e8eDebian\u548cUbuntu\uff09<\/h4>\n<\/p>\n<p><p>APT\uff08Advanced Package Tool\uff09\u662fDebian\u548cUbuntu\u7cfb\u7edf\u9ed8\u8ba4\u7684\u5305\u7ba1\u7406\u5668\u3002\u4f7f\u7528APT\u5305\u7ba1\u7406\u5668\u6765\u5b89\u88c5Python3\u975e\u5e38\u7b80\u5355\uff0c\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u66f4\u65b0APT\u5305\u5217\u8868\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt update<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5Python3\u53ca\u5176pip\uff08Python\u5305\u7ba1\u7406\u5de5\u5177\uff09\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt install python3 python3-pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p>pip3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u8fd9\u79cd\u65b9\u5f0f\u80fd\u591f\u786e\u4fdd\u5b89\u88c5\u7684\u662f\u7cfb\u7edf\u4ed3\u5e93\u4e2d\u7684Python3\u7248\u672c\uff0c\u5e76\u4e14\u4f1a\u81ea\u52a8\u5904\u7406\u4f9d\u8d56\u5173\u7cfb\uff0c\u786e\u4fdd\u5b89\u88c5\u8fc7\u7a0b\u7684\u987a\u5229\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528YUM\u5305\u7ba1\u7406\u5668\uff08\u9002\u7528\u4e8eCentOS\u548cRHEL\uff09<\/h4>\n<\/p>\n<p><p>YUM\uff08Yellowdog Updater Modified\uff09\u662fCentOS\u548cRHEL\u7cfb\u7edf\u9ed8\u8ba4\u7684\u5305\u7ba1\u7406\u5668\u3002\u901a\u8fc7YUM\u5305\u7ba1\u7406\u5668\u5b89\u88c5Python3\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u66f4\u65b0YUM\u5305\u5217\u8868\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum update<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5Python3\u53ca\u5176pip\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum install python3 python3-pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p>pip3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>YUM\u5305\u7ba1\u7406\u5668\u540c\u6837\u4f1a\u5904\u7406\u4f9d\u8d56\u5173\u7cfb\uff0c\u5e76\u786e\u4fdd\u5b89\u88c5\u8fc7\u7a0b\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5<\/h3>\n<\/p>\n<p><p>\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5\u9002\u7528\u4e8e\u9700\u8981\u7279\u5b9a\u7248\u672c\u6216\u81ea\u5b9a\u4e49\u914d\u7f6e\u7684\u7528\u6237\u3002\u901a\u8fc7\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u5b89\u88c5Python3\uff0c\u53ef\u4ee5\u786e\u4fdd\u83b7\u5f97\u6700\u65b0\u7248\u672c\u6216\u8fdb\u884c\u7279\u5b9a\u7684\u4f18\u5316\u914d\u7f6e\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u5b89\u88c5\u4f9d\u8d56\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt update<\/p>\n<p>sudo apt install build-essential libssl-dev libffi-dev zlib1g-dev<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u4e0b\u8f7dPython\u6e90\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">wget https:\/\/www.python.org\/ftp\/python\/3.x.x\/Python-3.x.x.tgz<\/p>\n<p>tar -xvf Python-3.x.x.tgz<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u8fdb\u5165\u6e90\u4ee3\u7801\u76ee\u5f55\u5e76\u7f16\u8bd1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">cd Python-3.x.x<\/p>\n<p>.\/configure --enable-optimizations<\/p>\n<p>make<\/p>\n<p>sudo make altinstall<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3.x --version<\/p>\n<p>pip3.x --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5\u7684\u4f18\u70b9\u662f\u53ef\u4ee5\u81ea\u5b9a\u4e49\u914d\u7f6e\u548c\u4f18\u5316\uff0c\u4f46\u76f8\u5bf9\u590d\u6742\uff0c\u9700\u8981\u786e\u4fdd\u4f9d\u8d56\u5305\u7684\u6b63\u786e\u5b89\u88c5\u548c\u914d\u7f6e\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528Pyenv\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c<\/h3>\n<\/p>\n<p><p>Pyenv\u662f\u4e00\u4e2aPython\u7248\u672c\u7ba1\u7406\u5de5\u5177\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u5728\u540c\u4e00\u7cfb\u7edf\u4e0a\u5b89\u88c5\u548c\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\u3002\u4f7f\u7528Pyenv\u53ef\u4ee5\u8f7b\u677e\u5207\u6362\u4e0d\u540c\u7684Python\u7248\u672c\uff0c\u9002\u7528\u4e8e\u9700\u8981\u5728\u4e0d\u540c\u9879\u76ee\u4e2d\u4f7f\u7528\u4e0d\u540cPython\u7248\u672c\u7684\u5f00\u53d1\u8005\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u5b89\u88c5\u4f9d\u8d56\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt update<\/p>\n<p>sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl git<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5Pyenv\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">curl https:\/\/pyenv.run | bash<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">echo &#39;export PATH=&quot;$HOME\/.pyenv\/bin:$PATH&quot;&#39; &gt;&gt; ~\/.bashrc<\/p>\n<p>echo &#39;eval &quot;$(pyenv init --path)&quot;&#39; &gt;&gt; ~\/.bashrc<\/p>\n<p>echo &#39;eval &quot;$(pyenv init -)&quot;&#39; &gt;&gt; ~\/.bashrc<\/p>\n<p>echo &#39;eval &quot;$(pyenv virtualenv-init -)&quot;&#39; &gt;&gt; ~\/.bashrc<\/p>\n<p>source ~\/.bashrc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv install 3.x.x<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u8bbe\u7f6e\u5168\u5c40\u6216\u672c\u5730Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv global 3.x.x<\/p>\n<p>pyenv local 3.x.x<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u4f7f\u7528Conda\u7ba1\u7406Python\u73af\u5883<\/h3>\n<\/p>\n<p><p>Conda\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5305\u7ba1\u7406\u548c\u73af\u5883\u7ba1\u7406\u7cfb\u7edf\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b89\u88c5\u548c\u7ba1\u7406Python\u53ca\u5176\u4f9d\u8d56\u5305\u3002Conda\u7279\u522b\u9002\u7528\u4e8e\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u7b49\u9700\u8981\u7ba1\u7406\u590d\u6742\u4f9d\u8d56\u5305\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u4e0b\u8f7d\u5e76\u5b89\u88c5Miniconda\u6216Anaconda\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">wget https:\/\/repo.anaconda.com\/miniconda\/Miniconda3-latest-Linux-x86_64.sh<\/p>\n<p>bash Miniconda3-latest-Linux-x86_64.sh<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">source ~\/.bashrc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u521b\u5efa\u548c\u6fc0\u6d3bPython\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda create -n myenv python=3.x<\/p>\n<p>conda activate myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>Conda\u7684\u4f18\u52bf\u5728\u4e8e\u53ef\u4ee5\u65b9\u4fbf\u5730\u521b\u5efa\u548c\u7ba1\u7406\u72ec\u7acb\u7684Python\u73af\u5883\uff0c\u907f\u514d\u5305\u51b2\u7a81\u548c\u7248\u672c\u4f9d\u8d56\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u6ce8\u610f\u4e8b\u9879\u548c\u5e38\u89c1\u95ee\u9898\u89e3\u51b3<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8def\u5f84\u95ee\u9898<\/strong>\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u786e\u4fddPython\u7684\u8def\u5f84\u5df2\u6b63\u786e\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u53ef\u4ee5\u4f7f\u7528<code>which python3<\/code>\u6216<code>echo $PATH<\/code>\u547d\u4ee4\u68c0\u67e5\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6743\u9650\u95ee\u9898<\/strong>\uff1a\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u5982\u679c\u9047\u5230\u6743\u9650\u95ee\u9898\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528<code>sudo<\/code>\u547d\u4ee4\u63d0\u5347\u6743\u9650\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f9d\u8d56\u95ee\u9898<\/strong>\uff1a\u5728\u5b89\u88c5\u524d\uff0c\u786e\u4fdd\u7cfb\u7edf\u5df2\u5b89\u88c5\u6240\u9700\u7684\u4f9d\u8d56\u5305\u3002\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863\u6216\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5\u6240\u9700\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7248\u672c\u51b2\u7a81<\/strong>\uff1a\u5982\u679c\u7cfb\u7edf\u4e2d\u5df2\u6709\u591a\u4e2aPython\u7248\u672c\uff0c\u5efa\u8bae\u4f7f\u7528Pyenv\u6216Conda\u7b49\u5de5\u5177\u6765\u7ba1\u7406\u4e0d\u540c\u7248\u672c\uff0c\u907f\u514d\u7248\u672c\u51b2\u7a81\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u66f4\u65b0\u95ee\u9898<\/strong>\uff1a\u5b9a\u671f\u68c0\u67e5\u5e76\u66f4\u65b0Python\u548c\u76f8\u5173\u5305\uff0c\u786e\u4fdd\u4f7f\u7528\u6700\u65b0\u7248\u672c\u548c\u5b89\u5168\u8865\u4e01\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u51e0\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728Linux\u7cfb\u7edf\u4e0a\u987a\u5229\u5b89\u88c5\u548c\u7ba1\u7406Python3\u3002\u65e0\u8bba\u662f\u901a\u8fc7\u5305\u7ba1\u7406\u5668\u3001\u6e90\u7801\u7f16\u8bd1\u3001Pyenv\u8fd8\u662fConda\uff0c\u90fd\u80fd\u591f\u6ee1\u8db3\u4e0d\u540c\u573a\u666f\u548c\u9700\u6c42\u7684\u5b89\u88c5\u8981\u6c42\u3002\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u5b89\u88c5\u65b9\u5f0f\uff0c\u786e\u4fddPython\u73af\u5883\u7684\u7a33\u5b9a\u548c\u9ad8\u6548\u8fd0\u884c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Linux\u4e0a\u5b89\u88c5Python3\u7684\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u4e0a\uff0c\u53ef\u4ee5\u901a\u8fc7\u5305\u7ba1\u7406\u5668\u8f7b\u677e\u5b89\u88c5Python3\u3002\u4ee5Ubuntu\u4e3a\u4f8b\uff0c\u53ef\u4ee5\u6253\u5f00\u7ec8\u7aef\u5e76\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<code>sudo apt update<\/code>\u548c<code>sudo apt install python3<\/code>\u3002\u5bf9\u4e8e\u5176\u4ed6\u53d1\u884c\u7248\uff0c\u5982CentOS\uff0c\u4f7f\u7528<code>sudo yum install python3<\/code>\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u901a\u8fc7\u8f93\u5165<code>python3 --version<\/code>\u53ef\u4ee5\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u5728Linux\u4e0a\u540c\u65f6\u5b89\u88c5\u591a\u4e2a\u7248\u672c\u7684Python\uff1f<\/strong><br \/>\u662f\u7684\uff0cLinux\u5141\u8bb8\u540c\u65f6\u5b89\u88c5\u591a\u4e2a\u7248\u672c\u7684Python\u3002\u53ef\u4ee5\u4f7f\u7528pyenv\u7b49\u5de5\u5177\u6765\u7ba1\u7406\u4e0d\u540c\u7248\u672c\u7684Python\u73af\u5883\u3002\u5b89\u88c5pyenv\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4<code>pyenv install &lt;version&gt;<\/code>\u6765\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684Python\uff0c\u5e76\u901a\u8fc7<code>pyenv global &lt;version&gt;<\/code>\u8bbe\u7f6e\u9ed8\u8ba4\u7248\u672c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Linux\u4e0a\u5b89\u88c5Python3\u7684\u5f00\u53d1\u73af\u5883\uff1f<\/strong><br \/>\u4e3a\u4e86\u5728Linux\u4e0a\u8bbe\u7f6ePython3\u7684\u5f00\u53d1\u73af\u5883\uff0c\u9664\u4e86\u5b89\u88c5Python3\u672c\u8eab\uff0c\u8fd8\u9700\u8981\u5b89\u88c5\u4e00\u4e9b\u5f00\u53d1\u5de5\u5177\u548c\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4<code>sudo apt install python3-dev<\/code>\uff08Ubuntu\uff09\u6216<code>sudo yum install python3-devel<\/code>\uff08CentOS\uff09\u6765\u5b89\u88c5Python3\u7684\u5f00\u53d1\u5305\u3002\u6b64\u5916\uff0c\u5b89\u88c5<code>pip<\/code>\uff08Python\u5305\u7ba1\u7406\u5de5\u5177\uff09\u4e5f\u5f88\u91cd\u8981\uff0c\u53ef\u4ee5\u901a\u8fc7<code>sudo apt install python3-pip<\/code>\u6765\u5b8c\u6210\u3002\u786e\u4fdd\u5728\u5f00\u53d1\u524d\u66f4\u65b0pip\uff0c\u547d\u4ee4\u4e3a<code>pip3 install --upgrade pip<\/code>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Linux\u5982\u4f55\u88c5Python3\uff1f \u53ef\u4ee5\u901a\u8fc7\u5305\u7ba1\u7406\u5668\u5b89\u88c5\u3001\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5\u7b49\u65b9\u5f0f\u6765\u5b89\u88c5Python3\u3002\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89 [&hellip;]","protected":false},"author":3,"featured_media":1170799,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1170794"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1170794"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1170794\/revisions"}],"predecessor-version":[{"id":1170800,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1170794\/revisions\/1170800"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1170799"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1170794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1170794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1170794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}