{"id":205261,"date":"2025-05-29T13:03:22","date_gmt":"2025-05-29T05:03:22","guid":{"rendered":"https:\/\/server.hk\/cnblog\/205261\/"},"modified":"2025-05-29T13:03:22","modified_gmt":"2025-05-29T05:03:22","slug":"%e4%b8%ba%e4%bb%80%e4%b9%88%e6%88%91%e7%9a%84%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e5%af%bc%e5%85%a5pandas%e6%8a%a5%e9%94%99%ef%bc%9ano-module-found%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/205261\/","title":{"rendered":"\u4e3a\u4ec0\u4e48\u6211\u7684\u547d\u4ee4\u884c\u4e0b\u5bfc\u5165pandas\u62a5\u9519\uff1aNo module found\uff1f"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>\u4e3a\u4ec0\u4e48\u6211\u7684\u547d\u4ee4\u884c\u4e0b\u5bfc\u5165pandas\u62a5\u9519\uff1aNo module found\uff1f<\/h1>\n<p>\u5728IT\u884c\u4e1a\u8fd9\u4e2a\u53d1\u5c55\u66f4\u65b0\u901f\u5ea6\u5f88\u5feb\u7684\u884c\u4e1a\uff0c\u53ea\u6709\u4e0d\u505c\u6b62\u7684\u5b66\u4e60\uff0c\u624d\u4e0d\u4f1a\u88ab\u884c\u4e1a\u6240\u6dd8\u6c70\u3002\u5982\u679c\u4f60\u662f\u6587\u7ae0\u5b66\u4e60\u8005\uff0c\u90a3\u4e48\u672c\u6587\u300a\u4e3a\u4ec0\u4e48\u6211\u7684\u547d\u4ee4\u884c\u4e0b\u5bfc\u5165pandas\u62a5\u9519\uff1aNo module found\uff1f\u300b\u5c31\u5f88\u9002\u5408\u4f60\uff01\u672c\u7bc7\u5185\u5bb9\u4e3b\u8981\u5305\u62ec##content_title##\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u77e5\u8bc6\u79ef\u7d2f\u6709\u6240\u5e2e\u52a9\uff0c\u52a9\u529b\u5b9e\u6218\u5f00\u53d1\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241127\/17326993036746e4a7d5579.jpg\" class=\"aligncenter\"><\/p>\n<p><strong>\u547d\u4ee4\u884c\u4e0b\u5bfc\u5165pandas\u62a5\u9519\uff1aNo module found<\/strong><\/p>\n<p>\u5728cmd\u73af\u5883\u4e0b\u8fd0\u884cpython\u7a0b\u5e8f\u65f6\uff0c\u5bfc\u5165pandas\u5e93\u65f6\u9047\u5230\u201cImportError:C extension: No module named &#8216;pandas._libs.tslibs.nattype&#8217; not built\u201d\u7684\u9519\u8bef\uff0c\u91cd\u65b0\u5b89\u88c5pandas\u540e\uff0c\u9519\u8bef\u540d\u79f0\u53d8\u4e3a\u201cconversion\u201d\u3002<\/p>\n<p><strong>\u53ef\u80fd\u7684\u89e3\u51b3\u65b9\u6848<\/strong><\/p>\n<ul>\n<li><strong>\u4f7f\u7528\u5176\u4ed6IDE\uff1a<\/strong>\u5efa\u8bae\u4f7f\u7528\u66f4\u4e13\u4e1a\u7684IDE\uff0c\u5982PyCharm\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u89e3\u51b3\u5305\u5b89\u88c5\u548c\u52a0\u8f7d\u4e2d\u7684\u95ee\u9898\u3002<\/li>\n<li><strong>\u73af\u5883\u8bbe\u7f6e\uff1a<\/strong> \u68c0\u67e5\u73af\u5883\u53d8\u91cf\u4e2d\u7684Python\u8def\u5f84\u662f\u5426\u6b63\u786e\u3002\u786e\u4fdd\u5df2\u5c06Python\u89e3\u91ca\u5668\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\u4e2d\uff0c\u5e76\u4e14Python\u5b89\u88c5\u8def\u5f84\u4e2d\u5305\u542b\u6240\u9700\u6a21\u5757\u7684\u4f9d\u8d56\u9879\u3002<\/li>\n<li><strong>\u7248\u672c\u51b2\u7a81\uff1a<\/strong> \u786e\u8ba4\u5b89\u88c5\u7684pandas\u7248\u672c\u4e0ePython\u7248\u672c\u517c\u5bb9\u3002\u4e0d\u540c\u7248\u672c\u7684Python\u53ef\u80fd\u9700\u8981\u4e0d\u540c\u7248\u672c\u4f9d\u8d56\u9879\u3002<\/li>\n<li><strong>\u4ee3\u7801\u8def\u5f84\uff1a<\/strong> \u786e\u4fdd\u6b63\u5728\u6267\u884c\u7684\u4ee3\u7801\u4f4d\u4e8e\u6b63\u786e\u7684\u76ee\u5f55\u4e2d\u3002\u68c0\u67e5\u4ee3\u7801\u8def\u5f84\u662f\u5426\u5305\u542b\u6240\u9700\u7684\u5305\u548c\u6a21\u5757\u3002<\/li>\n<\/ul>\n<p><strong>\u5176\u4ed6\u5efa\u8bae<\/strong><\/p>\n<ul>\n<li>\u5c06\u4ee3\u7801\u548c\u8fd0\u884c\u547d\u4ee4\u63d0\u4f9b\u7ed9\u793e\u533a\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u7406\u89e3\u95ee\u9898\u5e76\u63d0\u4f9b\u5177\u4f53\u5e2e\u52a9\u3002<\/li>\n<li>\u4fdd\u6301\u4ee3\u7801\u4e95\u4e95\u6709\u6761\uff0c\u5efa\u8bae\u5c06\u4ee3\u7801\u653e\u7f6e\u5728\u4e13\u7528\u6587\u4ef6\u5939\u4e2d\uff0c\u800c\u4e0d\u662f\u684c\u9762\u3002<\/li>\n<\/ul>\n<p>\u6587\u4e2d\u5173\u4e8e\u7684\u77e5\u8bc6\u4ecb\u7ecd\uff0c\u5e0c\u671b\u5bf9\u4f60\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff01\u82e5\u662f\u53d7\u76ca\u532a\u6d45\uff0c\u90a3\u5c31\u52a8\u52a8\u9f20\u6807\u6536\u85cf\u8fd9\u7bc7\u300a\u4e3a\u4ec0\u4e48\u6211\u7684\u547d\u4ee4\u884c\u4e0b\u5bfc\u5165pandas\u62a5\u9519\uff1aNo module found\uff1f\u300b\u6587\u7ae0\u5427\uff0c\u4e5f\u53ef\u5173\u6ce8\u516c\u4f17\u53f7\u4e86\u89e3\u76f8\u5173\u6280\u672f\u6587\u7ae0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u6211\u7684\u547d\u4ee4\u884c\u4e0b\u5bfc\u5165panda&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-205261","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/205261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=205261"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/205261\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=205261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=205261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=205261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}