{"id":1049145,"date":"2024-12-31T13:57:04","date_gmt":"2024-12-31T05:57:04","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1049145.html"},"modified":"2024-12-31T13:57:07","modified_gmt":"2024-12-31T05:57:07","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8redhat7%e9%87%8c%e5%ae%89%e8%a3%85python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1049145.html","title":{"rendered":"\u5982\u4f55\u5728redhat7\u91cc\u5b89\u88c5python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/a7295326-1d61-4ece-b953-7e50016cfefe.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u5728redhat7\u91cc\u5b89\u88c5python\" \/><\/p>\n<p><p> <strong>\u5728Red Hat 7 \u4e2d\u5b89\u88c5 Python \u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u7684\u5305\u7ba1\u7406\u5de5\u5177\u3001\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u5b89\u88c5\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5de5\u5177\u5982 <code>pyenv<\/code> \u8fdb\u884c\u5b89\u88c5<\/strong>\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u5c55\u5f00\u63cf\u8ff0\u5982\u4f55\u901a\u8fc7\u5305\u7ba1\u7406\u5de5\u5177 <code>yum<\/code> \u5b89\u88c5 Python\uff0c\u56e0\u4e3a\u8fd9\u662f\u6700\u7b80\u5355\u548c\u5e38\u89c1\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528 <code>yum<\/code> \u5b89\u88c5 Python\uff1a<\/strong><\/p>\n<\/p>\n<p><p><code>yum<\/code> \u662f Red Hat \u7cfb\u7edf\u4e2d\u9ed8\u8ba4\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u65b9\u4fbf\u5730\u5b89\u88c5\u3001\u66f4\u65b0\u548c\u7ba1\u7406\u8f6f\u4ef6\u5305\u3002\u4f7f\u7528 <code>yum<\/code> \u5b89\u88c5 Python \u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u66f4\u65b0\u7cfb\u7edf\u548c\u5305\u7ba1\u7406\u5de5\u5177<\/strong><\/p>\n<p>\u5728\u5b89\u88c5\u4efb\u4f55\u8f6f\u4ef6\u5305\u4e4b\u524d\uff0c\u5efa\u8bae\u5148\u66f4\u65b0\u7cfb\u7edf\u548c <code>yum<\/code> \u5de5\u5177\uff0c\u4ee5\u786e\u4fdd\u80fd\u591f\u83b7\u53d6\u5230\u6700\u65b0\u7684\u8f6f\u4ef6\u5305\u548c\u4f9d\u8d56\u9879\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum update -y<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u68c0\u67e5 Python \u7248\u672c<\/strong><\/p>\n<p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u68c0\u67e5\u7cfb\u7edf\u4e2d\u662f\u5426\u5df2\u7ecf\u5b89\u88c5\u4e86 Python \u4ee5\u53ca\u5b83\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>Red Hat 7 \u901a\u5e38\u4f1a\u81ea\u5e26 Python 2.x\u3002\u5982\u679c\u9700\u8981\u5b89\u88c5 Python 3.x\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u542f\u7528 EPEL \u4ed3\u5e93<\/strong><\/p>\n<p>EPEL\uff08Extra Packages for Enterprise Linux\uff09\u662f\u4e00\u4e2a\u7531 Fedora \u9879\u76ee\u7ef4\u62a4\u7684\u9ad8\u8d28\u91cf\u8f6f\u4ef6\u5305\u4ed3\u5e93\uff0c\u5305\u542b\u8bb8\u591a\u989d\u5916\u7684\u8f6f\u4ef6\u5305\uff0c\u5305\u62ec Python 3.x\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum install epel-release<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5 Python 3<\/strong><\/p>\n<p>\u901a\u8fc7 <code>yum<\/code> \u5b89\u88c5 Python 3.x \u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum install python36<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e Python \u73af\u5883<\/strong><\/p>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u4f7f\u7528\uff0c\u53ef\u4ee5\u521b\u5efa\u7b26\u53f7\u94fe\u63a5\uff0c\u5c06 <code>python3<\/code> \u547d\u4ee4\u6307\u5411 <code>python<\/code>\uff0c\u8fd9\u6837\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 <code>python<\/code> \u547d\u4ee4\u6765\u8c03\u7528 Python 3\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo ln -s \/usr\/bin\/python3 \/usr\/bin\/python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5 pip<\/strong><\/p>\n<p><code>pip<\/code> \u662f Python \u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u7528\u4e8e\u5b89\u88c5\u548c\u7ba1\u7406 Python \u8f6f\u4ef6\u5305\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum install python3-pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong><\/p>\n<p>\u4f7f\u7528 <code>virtualenv<\/code> \u6216 <code>venv<\/code> \u6765\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u4ee5\u4fbf\u5728\u9694\u79bb\u7684\u73af\u5883\u4e2d\u5b89\u88c5\u548c\u7ba1\u7406\u9879\u76ee\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 -m venv myenv<\/p>\n<p>source myenv\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u865a\u62df\u73af\u5883\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>pip<\/code> \u6765\u5b89\u88c5\u6240\u9700\u7684 Python \u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7ba1\u7406 Python \u5305<\/strong><\/p>\n<p>\u5728\u865a\u62df\u73af\u5883\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>pip<\/code> \u6765\u5b89\u88c5\u3001\u66f4\u65b0\u548c\u7ba1\u7406 Python \u5305\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install package_name<\/p>\n<p>pip list<\/p>\n<p>pip freeze &gt; requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u5b89\u88c5 Python\uff1a<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684 Python \u6216\u8005\u9700\u8981\u81ea\u5b9a\u4e49\u7f16\u8bd1\u9009\u9879\uff0c\u53ef\u4ee5\u9009\u62e9\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u5b89\u88c5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7d Python \u6e90\u4ee3\u7801<\/strong><\/p>\n<p>\u4ece Python \u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u6240\u9700\u7248\u672c\u7684\u6e90\u7801\u5305\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">wget https:\/\/www.python.org\/ftp\/python\/3.x.y\/Python-3.x.y.tgz<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u89e3\u538b\u6e90\u7801\u5305<\/strong><\/p>\n<p>\u4f7f\u7528 <code>tar<\/code> \u547d\u4ee4\u89e3\u538b\u4e0b\u8f7d\u7684\u6e90\u7801\u5305\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">tar -xzf Python-3.x.y.tgz<\/p>\n<p>cd Python-3.x.y<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u548c\u7f16\u8bd1<\/strong><\/p>\n<p>\u8fd0\u884c <code>configure<\/code> \u811a\u672c\u5e76\u7f16\u8bd1\u6e90\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">.\/configure --enable-optimizations<\/p>\n<p>make<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5 Python<\/strong><\/p>\n<p>\u4ee5 root \u7528\u6237\u6743\u9650\u5b89\u88c5\u7f16\u8bd1\u597d\u7684 Python\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo make altinstall<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3.x --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u4f7f\u7528 <code>pyenv<\/code> \u7ba1\u7406\u591a\u4e2a Python \u7248\u672c\uff1a<\/strong><\/p>\n<\/p>\n<p><p><code>pyenv<\/code> \u662f\u4e00\u4e2a\u7528\u4e8e\u7ba1\u7406\u591a\u4e2a Python \u7248\u672c\u7684\u5de5\u5177\uff0c\u7279\u522b\u9002\u5408\u9700\u8981\u5728\u540c\u4e00\u7cfb\u7edf\u4e2d\u8fd0\u884c\u591a\u4e2a Python \u7248\u672c\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u4f9d\u8d56\u5305<\/strong><\/p>\n<p>\u5b89\u88c5 <code>pyenv<\/code> \u6240\u9700\u7684\u4f9d\u8d56\u5305\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum install -y git gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5 <code>pyenv<\/code><\/strong><\/p>\n<p>\u4f7f\u7528 <code>git<\/code> \u514b\u9686 <code>pyenv<\/code> \u4ed3\u5e93\u5e76\u6dfb\u52a0\u5230\u73af\u5883\u53d8\u91cf\u4e2d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">git clone https:\/\/github.com\/pyenv\/pyenv.git ~\/.pyenv<\/p>\n<p>echo &#39;export PYENV_ROOT=&quot;$HOME\/.pyenv&quot;&#39; &gt;&gt; ~\/.bashrc<\/p>\n<p>echo &#39;export PATH=&quot;$PYENV_ROOT\/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>source ~\/.bashrc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5 Python \u7248\u672c<\/strong><\/p>\n<p>\u4f7f\u7528 <code>pyenv<\/code> \u5b89\u88c5\u6240\u9700\u7684 Python \u7248\u672c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv install 3.x.y<\/p>\n<p>pyenv global 3.x.y<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\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<li>\n<p><strong>\u7ba1\u7406 Python \u7248\u672c<\/strong><\/p>\n<p>\u4f7f\u7528 <code>pyenv<\/code> \u5207\u6362\u548c\u7ba1\u7406\u4e0d\u540c\u7684 Python \u7248\u672c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv versions<\/p>\n<p>pyenv local 3.x.y<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u53ef\u4ee5\u5728 Red Hat 7 \u7cfb\u7edf\u4e2d\u987a\u5229\u5b89\u88c5\u548c\u7ba1\u7406 Python \u7248\u672c\u3002\u9009\u62e9\u5408\u9002\u7684\u5b89\u88c5\u65b9\u6cd5\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u6765\u51b3\u5b9a\u3002\u65e0\u8bba\u662f\u4f7f\u7528 <code>yum<\/code>\u3001\u4ece\u6e90\u7801\u7f16\u8bd1\u8fd8\u662f\u4f7f\u7528 <code>pyenv<\/code>\uff0c\u90fd\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u573a\u666f\u4e0b\u7684 Python \u5b89\u88c5\u9700\u6c42\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Red Hat 7\u4e2d\uff0c\u5982\u4f55\u786e\u8ba4\u7cfb\u7edf\u4e2d\u662f\u5426\u5df2\u7ecf\u5b89\u88c5\u4e86Python\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165<code>python --version<\/code>\u6216<code>python3 --version<\/code>\u6765\u68c0\u67e5Python\u662f\u5426\u5df2\u5b89\u88c5\u3002\u5982\u679c\u7cfb\u7edf\u8fd4\u56de\u7248\u672c\u53f7\uff0c\u8bf4\u660ePython\u5df2\u7ecf\u5b89\u88c5\u3002\u5982\u679c\u8fd4\u56de\u201c\u547d\u4ee4\u672a\u627e\u5230\u201d\uff0c\u5219\u8868\u793a\u672a\u5b89\u88c5Python\u3002<\/p>\n<p><strong>\u5728Red Hat 7\u4e0a\u5b89\u88c5Python\u7684\u63a8\u8350\u65b9\u6cd5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u4f7f\u7528<code>yum<\/code>\u5305\u7ba1\u7406\u5668\u662f\u5b89\u88c5Python\u7684\u63a8\u8350\u65b9\u6cd5\u3002\u5728\u7ec8\u7aef\u4e2d\uff0c\u53ef\u4ee5\u8f93\u5165<code>sudo yum install python<\/code>\u6765\u5b89\u88c5Python 2.x\uff0c\u6216\u8005\u4f7f\u7528<code>sudo yum install python3<\/code>\u5b89\u88c5Python 3.x\u3002\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5904\u7406\u4f9d\u8d56\u5173\u7cfb\uff0c\u786e\u4fdd\u5b89\u88c5\u8fc7\u7a0b\u987a\u5229\u8fdb\u884c\u3002<\/p>\n<p><strong>\u5b89\u88c5Python\u540e\uff0c\u6211\u5982\u4f55\u7ba1\u7406\u4e0d\u540c\u7248\u672c\u7684Python\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>pyenv<\/code>\u6765\u7ba1\u7406\u4e0d\u540c\u7248\u672c\u7684Python\u3002\u5b89\u88c5<code>pyenv<\/code>\u540e\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5207\u6362\u548c\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u5b89\u88c5<code>pyenv<\/code>\u3001\u6dfb\u52a0\u73af\u5883\u53d8\u91cf\u4ee5\u53ca\u4f7f\u7528<code>pyenv install<\/code>\u547d\u4ee4\u4e0b\u8f7d\u6240\u9700\u7684Python\u7248\u672c\u3002<\/p>\n<p><strong>\u5728Red Hat 7\u4e0a\u5b89\u88c5Python\u540e\uff0c\u5982\u4f55\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\uff1f<\/strong><br \/>\u5b89\u88c5\u5b8cPython\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip<\/code>\uff08Python\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff09\u6765\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\u3002\u8fd0\u884c<code>pip install package_name<\/code>\u6765\u5b89\u88c5\u7279\u5b9a\u7684\u5305\u3002\u5982\u679c\u662f\u4f7f\u7528Python 3.x\uff0c\u786e\u4fdd\u4f7f\u7528<code>pip3<\/code>\u547d\u4ee4\u3002\u53ef\u4ee5\u901a\u8fc7<code>pip list<\/code>\u67e5\u770b\u5df2\u5b89\u88c5\u7684\u5305\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Red Hat 7 \u4e2d\u5b89\u88c5 Python \u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u7684\u5305\u7ba1\u7406\u5de5\u5177\u3001\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u5b89\u88c5\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9 [&hellip;]","protected":false},"author":3,"featured_media":1049155,"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\/1049145"}],"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=1049145"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1049145\/revisions"}],"predecessor-version":[{"id":1049157,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1049145\/revisions\/1049157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1049155"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1049145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1049145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1049145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}