{"id":569,"date":"2012-04-30T12:50:28","date_gmt":"2012-04-30T04:50:28","guid":{"rendered":"http:\/\/www.myvoipapp.com\/blogs\/yxh\/?p=569"},"modified":"2019-02-12T20:11:52","modified_gmt":"2019-02-12T12:11:52","slug":"kubuntu12-04%e4%b8%adpython%e7%9a%84%e4%b8%80%e7%82%b9%e5%8f%98%e5%8c%96","status":"publish","type":"post","link":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/2012\/04\/30\/kubuntu12-04%e4%b8%adpython%e7%9a%84%e4%b8%80%e7%82%b9%e5%8f%98%e5%8c%96\/","title":{"rendered":"Kubuntu12.04\u4e2dpython\u7684\u4e00\u70b9\u53d8\u5316"},"content":{"rendered":"<p>\u6700\u65b0\u768412.04\u7248\u672c\u4e2d\uff0c\u9ed8\u8ba4\u643a\u5e26\u7684python\u7248\u672c\u662f2.7\u7248\u672c\uff0c\u5e76\u4e14\u5728Ubuntu\u7684\u5e93\u4e2d\u4e0d\u518d\u63d0\u4f9b2.6\u7248\u672c\uff0c\u56e0\u6b64\u5982\u679c\u4f7f\u7528\u4e86python2.6\u7684\u5f00\u53d1\u5e93\u7684\u7a0b\u5e8f\uff0c\u5728\u65b0\u7248\u672c\u4e2d\u5fc5\u987b\u8981\u8fdb\u884c\u76f8\u5e94\u7684\u8c03\u6574\u3002<\/p>\n<p>\u6bd4\u8f83\u7b80\u5355\u7684\u529e\u6cd5\u662f\u505a\u7b26\u53f7\u94fe\u63a5\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre>sudo ln -s \/usr\/include\/python2.7 \/usr\/include\/python2.6\r\nsudo ln -s \/usr\/lib\/libpython2.7.a \/usr\/lib\/libpython2.6.a\r\nsudo ln -s \/usr\/lib\/libpython2.7.so \/usr\/lib\/libpython2.6.so<\/pre>\n<p>Linux\u4e2d\u5171\u4eab\u5e93\u7684\u5b9e\u73b0\u65b9\u5f0f\uff0c\u867d\u7136\u91c7\u7528\u7248\u672c\u53f7\u80fd\u89e3\u51b3windows\u7cfb\u7edf\u5e38\u89c1\u7684DLL\u51b2\u7a81\u95ee\u9898\uff0c\u4f46\u662f\u4e5f\u4e0d\u5b8c\u7f8e\uff0c\u9047\u5230\u7248\u672c\u5e93\u5347\u7ea7\uff0c\u5e94\u7528\u7a0b\u5e8f\u90fd\u5fc5\u987b\u8981\u6539\u52a8\uff1a\u8981\u4e48\u6539\u52a8\u914d\u7f6e\u6587\u4ef6\u6216\u8005\u6e90\u7801\uff0c\u8981\u4e48\u6539\u52a8\u7b26\u53f7\u94fe\u63a5\u7b49\u3002<\/p>\n<p>\u5bf9\u4e8epython\u800c\u8a00\uff0c\u7531\u4e8e\u53ef\u4ee5\u5206\u76ee\u5f55\u5b89\u88c5\uff0c\u5e76\u4e14\u5171\u4eab\u5e93\u4e5f\u5e26\u7248\u672c\u53f7\u533a\u5206\uff0c\u5b8c\u5168\u53ef\u4ee52.6\u548c2.7\u5171\u5b58\uff0c\u4e0d\u77e5\u9053ubuntu\u662f\u51fa\u4e8e\u4ec0\u4e48\u8003\u8651\uff0c\u53bb\u6389\u4e86\u5bf92.6\u7684\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u65b0\u768412.04\u7248\u672c\u4e2d\uff0c\u9ed8\u8ba4\u643a\u5e26\u7684python\u7248\u672c\u662f2.7\u7248\u672c\uff0c\u5e76\u4e14\u5728Ubuntu\u7684\u5e93\u4e2d\u4e0d\u518d\u63d0\u4f9b2.6\u7248\u672c\uff0c\u56e0\u6b64\u5982\u679c\u4f7f\u7528\u4e86python2.6\u7684\u5f00\u53d1\u5e93\u7684\u7a0b\u5e8f\uff0c\u5728\u65b0&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.myvoipapp.com\/blogs\/yxh\/2012\/04\/30\/kubuntu12-04%e4%b8%adpython%e7%9a%84%e4%b8%80%e7%82%b9%e5%8f%98%e5%8c%96\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[50],"class_list":["post-569","post","type-post","status-publish","format-standard","hentry","category-6","tag-python"],"_links":{"self":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts\/569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/comments?post=569"}],"version-history":[{"count":2,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts\/569\/revisions"}],"predecessor-version":[{"id":1861,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts\/569\/revisions\/1861"}],"wp:attachment":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/media?parent=569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/categories?post=569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/tags?post=569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}