{"id":938609,"date":"2024-12-26T20:14:56","date_gmt":"2024-12-26T12:14:56","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/938609.html"},"modified":"2024-12-26T20:14:58","modified_gmt":"2024-12-26T12:14:58","slug":"python%e5%a6%82%e4%bd%95%e6%b7%bb%e5%8a%a0pip","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/938609.html","title":{"rendered":"python\u5982\u4f55\u6dfb\u52a0pip"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25074013\/594e3a42-d68c-4a61-a72e-5279003cd3f3.webp\" alt=\"python\u5982\u4f55\u6dfb\u52a0pip\" \/><\/p>\n<p><p> <strong>\u8981\u5728Python\u4e2d\u6dfb\u52a0pip\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u5b8c\u6210\uff1a\u5b89\u88c5Python\u65f6\u9009\u62e9\u5b89\u88c5pip\u3001\u4f7f\u7528get-pip.py\u811a\u672c\u624b\u52a8\u5b89\u88c5\u3001\u901a\u8fc7\u64cd\u4f5c\u7cfb\u7edf\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u5b89\u88c5\u3002\u5728\u8fd9\u4e9b\u65b9\u6cd5\u4e2d\uff0c\u901a\u5e38\u63a8\u8350\u5728\u5b89\u88c5Python\u65f6\u9009\u62e9\u5b89\u88c5pip\uff0c\u56e0\u4e3a\u8fd9\u662f\u6700\u7b80\u5355\u548c\u6700\u76f4\u63a5\u7684\u65b9\u5f0f\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5b89\u88c5Python\u65f6\u9009\u62e9\u5b89\u88c5pip\u662f\u6700\u4e3a\u7b80\u5355\u548c\u76f4\u63a5\u7684\u65b9\u6cd5\u3002\u5728\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f\u65f6\uff0c\u5927\u591a\u6570Python\u53d1\u884c\u7248\u90fd\u5305\u542bpip\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u53ea\u9700\u786e\u4fdd\u9009\u4e2d\u201cAdd Python to PATH\u201d\u548c\u201cInstall pip\u201d\u9009\u9879\u5373\u53ef\u3002\u8fd9\u6837\uff0cpip\u5c06\u81ea\u52a8\u5b89\u88c5\u5e76\u914d\u7f6e\u4e3a\u4e0ePython\u4e00\u8d77\u4f7f\u7528\u3002\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u662f\u65e0\u9700\u989d\u5916\u914d\u7f6e\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u5373\u53ef\u7acb\u5373\u4f7f\u7528pip\u6765\u5b89\u88c5\u5176\u4ed6Python\u5305\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u5b89\u88c5Python\u65f6\u9009\u62e9\u5b89\u88c5pip<\/h3>\n<\/p>\n<p><p>\u5927\u591a\u6570\u73b0\u4ee3\u7684Python\u5b89\u88c5\u7a0b\u5e8f\u90fd\u9ed8\u8ba4\u5305\u542bpip\u3002\u5b89\u88c5\u65f6\uff0c\u53ea\u9700\u786e\u4fdd\u9009\u4e2d\u76f8\u5173\u9009\u9879\u5373\u53ef\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f<\/strong>\uff1a\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\uff0c\u4e0b\u8f7d\u9002\u5408\u4f60\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f<\/strong>\uff1a\u542f\u52a8\u5b89\u88c5\u7a0b\u5e8f\u65f6\uff0c\u9009\u4e2d\u201cAdd Python to PATH\u201d\u548c\u201cInstall pip\u201d\u9009\u9879\u3002\u8fd9\u5c06\u786e\u4fddpip\u4e0ePython\u4e00\u8d77\u5b89\u88c5\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u4f7f\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong>\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\uff0c\u8f93\u5165<code>pip --version<\/code>\u68c0\u67e5pip\u662f\u5426\u6b63\u786e\u5b89\u88c5\u3002\u5982\u679c\u663e\u793apip\u7684\u7248\u672c\u4fe1\u606f\uff0c\u5219\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u4f7f\u7528get-pip.py\u811a\u672c\u624b\u52a8\u5b89\u88c5<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Python\uff0c\u4f46\u6ca1\u6709\u5b89\u88c5pip\uff0c\u53ef\u4ee5\u4f7f\u7528get-pip.py\u811a\u672c\u624b\u52a8\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7dget-pip.py<\/strong>\uff1a\u8bbf\u95eepip\u7684\u5b98\u65b9\u9875\u9762\uff0c\u4e0b\u8f7dget-pip.py\u811a\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u811a\u672c<\/strong>\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\u5bfc\u822a\u5230get-pip.py\u6240\u5728\u7684\u76ee\u5f55\uff0c\u7136\u540e\u8fd0\u884c<code>python get-pip.py<\/code>\u3002\u8fd9\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5pip\u53ca\u5176\u4f9d\u8d56\u9879\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong>\uff1a\u4e0e\u524d\u9762\u7684\u6b65\u9aa4\u7c7b\u4f3c\uff0c\u4f7f\u7528<code>pip --version<\/code>\u547d\u4ee4\u6765\u9a8c\u8bc1pip\u662f\u5426\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u901a\u8fc7\u64cd\u4f5c\u7cfb\u7edf\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u5b89\u88c5<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u67d0\u4e9bLinux\u53d1\u884c\u7248\uff0c\u53ef\u4ee5\u901a\u8fc7\u64cd\u4f5c\u7cfb\u7edf\u81ea\u5e26\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u76f4\u63a5\u5b89\u88c5pip\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Debian\/Ubuntu<\/strong>\uff1a\u4f7f\u7528\u547d\u4ee4<code>sudo apt update<\/code>\u66f4\u65b0\u5305\u5217\u8868\uff0c\u7136\u540e\u4f7f\u7528<code>sudo apt install python3-pip<\/code>\u5b89\u88c5pip\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Fedora\/CentOS<\/strong>\uff1a\u53ef\u4ee5\u4f7f\u7528<code>sudo dnf install python3-pip<\/code>\u6216<code>sudo yum install python3-pip<\/code>\u6765\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong>\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f7f\u7528<code>pip3 --version<\/code>\u6765\u68c0\u67e5pip3\u662f\u5426\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u914d\u7f6e\u548c\u4f7f\u7528pip<\/h3>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u4f7f\u7528pip\u6765\u7ba1\u7406Python\u5305\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u5305<\/strong>\uff1a\u4f7f\u7528<code>pip install package_name<\/code>\u547d\u4ee4\u6765\u5b89\u88c5Python\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5347\u7ea7\u5305<\/strong>\uff1a\u4f7f\u7528<code>pip install --upgrade package_name<\/code>\u547d\u4ee4\u5347\u7ea7\u5df2\u5b89\u88c5\u7684\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5378\u8f7d\u5305<\/strong>\uff1a\u4f7f\u7528<code>pip uninstall package_name<\/code>\u547d\u4ee4\u5378\u8f7d\u4e0d\u9700\u8981\u7684\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5217\u51fa\u5df2\u5b89\u88c5\u7684\u5305<\/strong>\uff1a\u4f7f\u7528<code>pip list<\/code>\u547d\u4ee4\u67e5\u770b\u5f53\u524d\u73af\u5883\u4e2d\u5df2\u5b89\u88c5\u7684\u6240\u6709\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u67e5\u770b\u5305\u4fe1\u606f<\/strong>\uff1a\u4f7f\u7528<code>pip show package_name<\/code>\u67e5\u770b\u7279\u5b9a\u5305\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5305\u62ec\u7248\u672c\u53f7\u3001\u5b89\u88c5\u8def\u5f84\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u89e3\u51b3\u5e38\u89c1\u7684\u5b89\u88c5\u95ee\u9898<\/h3>\n<\/p>\n<p><p>\u5728\u5b89\u88c5pip\u548c\u4f7f\u7528pip\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u95ee\u9898\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6743\u9650\u95ee\u9898<\/strong>\uff1a\u5728\u67d0\u4e9b\u7cfb\u7edf\u4e0a\uff0c\u5b89\u88c5\u6216\u5347\u7ea7\u5305\u53ef\u80fd\u9700\u8981\u7ba1\u7406\u5458\u6743\u9650\u3002\u53ef\u4ee5\u901a\u8fc7\u5728\u547d\u4ee4\u524d\u52a0\u4e0a<code>sudo<\/code>\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u4f8b\u5982<code>sudo pip install package_name<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f51\u7edc\u95ee\u9898<\/strong>\uff1a\u5982\u679c\u7f51\u7edc\u8fde\u63a5\u4e0d\u7545\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5b89\u88c5\u5931\u8d25\u3002\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u56fd\u5185\u7684\u955c\u50cf\u6e90\u6765\u52a0\u901f\u4e0b\u8f7d\uff0c\u5982\u963f\u91cc\u4e91\u955c\u50cf\u6216\u6e05\u534e\u5927\u5b66\u955c\u50cf\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7248\u672c\u51b2\u7a81<\/strong>\uff1a\u5982\u679c\u5b89\u88c5\u67d0\u4e2a\u5305\u65f6\u63d0\u793a\u7248\u672c\u51b2\u7a81\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u4e0d\u540c\u5305\u4e4b\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\u3002\u53ef\u4ee5\u5c1d\u8bd5\u624b\u52a8\u6307\u5b9a\u5305\u7248\u672c\u6765\u89e3\u51b3\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u73af\u5883\u7ba1\u7406<\/strong>\uff1a\u4e3a\u4e86\u907f\u514d\u5305\u4e4b\u95f4\u7684\u51b2\u7a81\uff0c\u5efa\u8bae\u4f7f\u7528\u865a\u62df\u73af\u5883\uff08virtualenv\uff09\u6765\u7ba1\u7406\u9879\u76ee\u4f9d\u8d56\u3002\u53ef\u4ee5\u4f7f\u7528<code>python -m venv env_name<\/code>\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u5e76\u4f7f\u7528<code>source env_name\/bin\/activate<\/code>\u6fc0\u6d3b\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u516d\u3001\u7ef4\u62a4pip\u548cPython\u5305<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u4fdd\u6301pip\u548c\u5df2\u5b89\u88c5\u5305\u7684\u6700\u65b0\u72b6\u6001\uff0c\u5b9a\u671f\u68c0\u67e5\u548c\u66f4\u65b0\u975e\u5e38\u91cd\u8981\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u66f4\u65b0pip<\/strong>\uff1a\u4f7f\u7528<code>pip install --upgrade pip<\/code>\u547d\u4ee4\u5347\u7ea7pip\u5230\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u66f4\u65b0\u6240\u6709\u5305<\/strong>\uff1a\u53ef\u4ee5\u4f7f\u7528<code>pip list --outdated<\/code>\u547d\u4ee4\u67e5\u770b\u54ea\u4e9b\u5305\u53ef\u4ee5\u66f4\u65b0\uff0c\u7136\u540e\u4f7f\u7528<code>pip install --upgrade package_name<\/code>\u9010\u4e2a\u66f4\u65b0\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528requirements\u6587\u4ef6<\/strong>\uff1a\u5728\u9879\u76ee\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip freeze &gt; requirements.txt<\/code>\u547d\u4ee4\u751f\u6210\u5f53\u524d\u73af\u5883\u4e2d\u6240\u6709\u5305\u7684\u5217\u8868\u3002\u5c06\u6b64\u6587\u4ef6\u6dfb\u52a0\u5230\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u4e2d\uff0c\u5176\u4ed6\u5f00\u53d1\u8005\u53ef\u4ee5\u4f7f\u7528<code>pip install -r requirements.txt<\/code>\u547d\u4ee4\u5feb\u901f\u5b89\u88c5\u76f8\u540c\u7684\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\u548c\u6280\u5de7\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Python\u73af\u5883\u4e2d\u6dfb\u52a0\u548c\u7ba1\u7406pip\uff0c\u786e\u4fdd\u5f00\u53d1\u8fc7\u7a0b\u987a\u5229\u8fdb\u884c\u3002\u65e0\u8bba\u662f\u5728\u672c\u5730\u5f00\u53d1\u8fd8\u662f\u5728\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u90fd\u53ef\u4ee5\u5e2e\u52a9\u4f60\u9ad8\u6548\u7ba1\u7406Python\u5305\u548c\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u68c0\u67e5\u6211\u7684Python\u73af\u5883\u662f\u5426\u5df2\u7ecf\u5b89\u88c5\u4e86pip\uff1f<\/strong><br \/>\u8981\u786e\u8ba4\u60a8\u7684Python\u73af\u5883\u662f\u5426\u5df2\u5b89\u88c5pip\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<code>pip --version<\/code> \u6216 <code>pip3 --version<\/code>\u3002\u5982\u679cpip\u5df2\u5b89\u88c5\uff0c\u60a8\u5c06\u770b\u5230\u7248\u672c\u4fe1\u606f\u3002\u5982\u679c\u7cfb\u7edf\u63d0\u793a\u547d\u4ee4\u672a\u627e\u5230\uff0c\u8bf4\u660e\u60a8\u53ef\u80fd\u9700\u8981\u5b89\u88c5pip\u3002<\/p>\n<p><strong>\u5982\u679c\u6211\u7684Python\u5b89\u88c5\u4e2d\u6ca1\u6709pip\uff0c\u8be5\u5982\u4f55\u5b89\u88c5\uff1f<\/strong><br \/>\u5982\u679c\u60a8\u7684Python\u73af\u5883\u6ca1\u6709pip\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0b\u8f7d <code>get-pip.py<\/code> \u6587\u4ef6\u6765\u8fdb\u884c\u5b89\u88c5\u3002\u60a8\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4e0b\u8f7d\u8be5\u6587\u4ef6\uff1a<code>curl https:\/\/bootstrap.pypa.io\/get-pip.py -o get-pip.py<\/code>\u3002\u4e0b\u8f7d\u540e\uff0c\u8fd0\u884c <code>python get-pip.py<\/code> \u6216 <code>python3 get-pip.py<\/code> \u6765\u5b89\u88c5pip\u3002<\/p>\n<p><strong>\u4f7f\u7528pip\u5b89\u88c5Python\u5e93\u7684\u57fa\u672c\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u4f7f\u7528pip\u5b89\u88c5Python\u5e93\u975e\u5e38\u7b80\u5355\u3002\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u60a8\u53ea\u9700\u8981\u8f93\u5165 <code>pip install package_name<\/code>\uff0c\u5c06 <code>package_name<\/code> \u66ff\u6362\u4e3a\u60a8\u60f3\u8981\u5b89\u88c5\u7684\u5e93\u7684\u540d\u79f0\u3002\u5982\u679c\u60a8\u60f3\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>pip install package_name==version<\/code> \u7684\u683c\u5f0f\u3002\u786e\u4fdd\u5728\u5b89\u88c5\u524d\u60a8\u7684\u7f51\u7edc\u8fde\u63a5\u826f\u597d\uff0c\u4ee5\u4fbf\u80fd\u591f\u4ecePython\u5305\u7d22\u5f15\uff08PyPI\uff09\u4e0b\u8f7d\u5e93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python\u4e2d\u6dfb\u52a0pip\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u5b8c\u6210\uff1a\u5b89\u88c5Python\u65f6\u9009\u62e9\u5b89\u88c5pip\u3001\u4f7f\u7528get-pip.py [&hellip;]","protected":false},"author":3,"featured_media":938613,"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\/938609"}],"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=938609"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/938609\/revisions"}],"predecessor-version":[{"id":938616,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/938609\/revisions\/938616"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/938613"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=938609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=938609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=938609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}