{"id":768,"date":"2023-02-22T21:41:51","date_gmt":"2023-02-22T13:41:51","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=768"},"modified":"2023-04-30T15:32:57","modified_gmt":"2023-04-30T07:32:57","slug":"python-import-error-handling","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/22\/python-import-error-handling\/","title":{"rendered":"Python import\u9519\u8bef\u5904\u7406"},"content":{"rendered":"<h4>ImportError: No module named win32api<\/h4>\n<p>Windows\u7cfb\u7edf\u4e0a\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\u7684\u89e3\u51b3\u9700\u8981\u5b89\u88c5Py32Win\u6a21\u5757\uff0c\u4f46\u662f\u76f4\u63a5\u901a\u8fc7\u5b98\u7f51\u94fe\u63a5\u5b89\u88c5exe\u4f1a\u51fa\u73b0\u51e0\u767e\u4e2a\u9519\u8bef\uff0c\u66f4\u65b9\u4fbf\u7684\u505a\u6cd5\u662f<\/p>\n<p><!-- more --><\/p>\n<pre><code>pip install pypiwin32<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ImportError: No module named win32api Windows\u7cfb\u7edf\u4e0a\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"class_list":["post-768","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=768"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/768\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}