{"id":171912,"date":"2022-04-11T20:50:49","date_gmt":"2022-04-11T12:50:49","guid":{"rendered":"http:\/\/www.idc.net\/help\/171912\/"},"modified":"2022-04-11T20:50:49","modified_gmt":"2022-04-11T12:50:49","slug":"%e5%90%8e%e6%b5%aa%e4%ba%91python%e6%95%99%e7%a8%8b%ef%bc%9apython2-7-64%e4%bd%8d%e4%b8%ad%e5%a6%82%e4%bd%95%e4%b8%8b%e8%bd%bdsetuptools%e5%b7%a5%e5%85%b7%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/171912\/","title":{"rendered":"\u540e\u6d6a\u4e91Python\u6559\u7a0b\uff1apython2.7 64\u4f4d\u4e2d\u5982\u4f55\u4e0b\u8f7dsetuptools\u5de5\u5177\uff1f"},"content":{"rendered":"<p style=\"text-align:center\"><span style=\"font-family:\u5fae\u8f6f\u96c5\u9ed1, Microsoft YaHei\"><span style=\"font-size: 16px\"><img decoding=\"async\" src=\"https:\/\/oss.py.cn\/pycn\/upload\/image\/136\/853\/661\/1605671132899222.png\" class=\"aligncenter\"><\/span><\/span><\/p>\n<p style=\"line-height: 1.75em\"><span style=\"font-family:\u5fae\u8f6f\u96c5\u9ed1, Microsoft YaHei\"><span style=\"font-size: 16px\">\u5e72\u6d3b\u7684\u65f6\u5019\uff0c\u603b\u662f\u8981\u591a\u51e0\u4ef6\u987a\u624b\u7684\u5de5\u5177\uff0c\u6700\u540e\u7684\u7ed3\u679c\u624d\u662f\u505a\u7684\u53c8\u5feb\u53c8\u597d\u3002\u6211\u4eec\u6709\u4e86python\u8fd9\u4e2a\u8f6f\u4ef6\uff0c\u8fd8\u662f\u4e0d\u80fd\u591f\u6ee1\u8db3\u4e8e\u5e73\u65f6\u7684\u64cd\u4f5c\u9700\u6c42\u3002\u6211\u4eec\u9700\u8981\u7b2c\u4e09\u65b9\u7684\u6a21\u5757\u3001\u5e93\u3001\u5de5\u5177\u4e4b\u7c7b\u7684\u8f85\u52a9\u6211\u4eec\u8fdb\u884c\u64cd\u4f5c\u3002\u4eca\u5929\u5c31\u4ecb\u7ecd<span style=\"font-size: 16px\">setuptools\u4e5f\u52a9\u5c0f\u4f19\u4f34\u4eec\u5b66\u4e60python\u7684\u4e00\u81c2\u4e4b\u529b\uff0c\u5177\u4f53\u7684\u5b89\u88c5\u65b9\u6cd5\u5982\u4e0b\uff1a<\/span><\/span><\/span><\/p>\n<p style=\"line-height: 1.75em\"><span style=\"font-size: 14px\"><br \/><\/span><\/p>\n<p style=\"line-height: 1.75em\"><span style=\"font-size: 14px\">setuptools\u662f Python Enterprise Application Kit\uff08PEAK\uff09\u7684\u4e00\u4e2a\u526f\u9879\u76ee\uff0c\u5b83\u662f\u4e00\u7ec4Python\u91ccdistutilsde\u5de5\u5177\u7684\u589e\u5f3a\u5de5\u5177\uff08\u9002\u7528\u4e8e Python 2.3.5 \u4ee5\u4e0a\u7684\u7248\u672c\uff0c64 \u4f4d\u5e73\u53f0\u5219\u9002\u7528\u4e8e Python 2.4 \u4ee5\u4e0a\u7684\u7248\u672c\uff09\uff0c\u53ef\u4ee5\u8ba9\u7a0b\u5e8f\u5458\u66f4\u65b9\u4fbf\u7684\u521b\u5efa\u548c\u53d1\u5e03 Python \u5305\uff0c\u7279\u522b\u662f\u90a3\u4e9b\u5bf9\u5176\u5b83\u5305\u5177\u6709\u4f9d\u8d56\u6027\u7684\u72b6\u51b5\u3002<\/span><\/p>\n<p style=\"line-height: 1.75em\"><span style=\"font-size: 14px\">\u4e0b\u8f7d\u5730\u5740\uff1a<\/span><span style=\"text-decoration: underline;font-size: 14px\">https:\/\/pypi.python.org\/pypi\/setuptools<\/span><\/p>\n<p style=\"line-height: 1.75em\"><span style=\"font-size: 14px\">&nbsp;<\/span><\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/oss.py.cn\/pycn\/upload\/image\/772\/725\/631\/1605670690950819.png\" class=\"aligncenter\"><\/p>\n<p style=\"line-height: 1.75em\"><\/p>\n<p style=\"line-height: 1.75em\"><span style=\"font-size: 14px\"><span style=\"font-size: 14px\">\u5b89\u88c5\u65b9\u6cd5\u4e3a\u6253\u5f00<\/span>cmd<span style=\"font-size: 14px\">\uff0c\u8fdb\u5165<\/span><span style=\"font-size: 14px\">setuptools<\/span><span style=\"font-size: 14px\">\u7684\u89e3\u538b\u76ee\u5f55<\/span><span style=\"font-size: 14px\">D:\\python64\\setuptools-28.6.1<\/span><span style=\"font-size: 14px\">\uff0c\u8fd0\u884c<\/span><span style=\"font-size: 14px\">python setup.py install<\/span><span style=\"font-size: 14px\">\u547d\u4ee4\u6765\u5b89\u88c5\u3002<\/span><\/span><\/p>\n<p style=\"line-height: 1.75em\"><span style=\"font-size: 14px\">&nbsp;<\/span><\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/oss.py.cn\/pycn\/upload\/image\/461\/584\/481\/1605670700599510.png\" class=\"aligncenter\"><\/p>\n<p><span><br \/><\/span><\/p>\n<p><span style=\"font-size: 14px\">\u5b89\u88c5\u5b8c\u6210\u540e\u53ef\u4ee5\u8fdb\u5165python\u7684\u5b89\u88c5\u76ee\u5f55\u4e0b\u67e5\u770bScripts\u76ee\u5f55\u4e2d\u662f\u5426\u6709easy_install.exe\uff0c\u6709\u5219\u8868\u793a\u5b89\u88c5\u6210\u529f\u4e86\u3002\u7136\u540e\u5c06Scripts\u8def\u5f84\u4e5f\u52a0\u5165\u5230\u73af\u5883\u53d8\u91cf\u4e2d\u3002<\/span><\/p>\n<p><span><br \/><\/span><\/p>\n<p style=\"line-height: 1.75em\"><span style=\"font-size: 16px\">\u5230\u8fd9\u91cc\u6211\u4eec\u65b0\u7684\u5b9e\u7528\u5de5\u5177<span>setuptools\u5c31\u5b89\u88c5\u597d\u4e86\uff0c\u5982\u4f55\u4f7f\u7528\u5c0f\u4f19\u4f34\u4eec\u53ef\u4ee5\u81ea\u5df1\u67e5\u8be2\u8d44\u6599\u6478\u7d22\u4e00\u4e0b\uff0c\u5c0f\u7f16\u5c31\u4e0d\u518d\u53d9\u8ff0\u4e86\u3002<\/span><span>\u66f4\u591aPython\u5b66\u4e60\u63a8\u8350:<\/span><\/span><span style=\"font-size: 16px\">PyThon\u5b66\u4e60\u7f51\u6559\u5b66\u4e2d\u5fc3<\/span><span style=\"font-size: 16px\">\u3002<\/span><\/p>\n<\/p>\n<p><span><span><\/span><\/span><\/p>\n<p style=\"line-height: 1.75em\"><span style=\"font-size: 14px\">&nbsp;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5e72\u6d3b\u7684\u65f6\u5019\uff0c\u603b\u662f\u8981\u591a\u51e0\u4ef6\u987a\u624b\u7684\u5de5\u5177\uff0c\u6700\u540e\u7684\u7ed3\u679c\u624d\u662f\u505a\u7684\u53c8\u5feb\u53c8\u597d\u3002\u6211\u4eec\u6709\u4e86python\u8fd9\u4e2a\u8f6f\u4ef6\uff0c\u8fd8\u662f\u4e0d\u80fd\u591f\u6ee1\u8db3\u4e8e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":171913,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[182397],"tags":[],"class_list":["post-171912","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/171912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=171912"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/171912\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media\/171913"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=171912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=171912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=171912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}