{"id":1366,"date":"2020-08-19T08:42:33","date_gmt":"2020-08-19T08:42:33","guid":{"rendered":"https:\/\/www.ipcpu.com\/?p=1366"},"modified":"2021-07-07T03:58:05","modified_gmt":"2021-07-07T03:58:05","slug":"windows-python","status":"publish","type":"post","link":"https:\/\/c.ipcpu.com\/2020\/08\/windows-python\/","title":{"rendered":"Windows\u5b89\u88c5Python\u5e93\u6587\u4ef6\u62a5\u9519"},"content":{"rendered":"

Windows\u5b89\u88c5Python\u5e93\u6587\u4ef6\u62a5\u9519.md<\/p>\n

\u56e0\u4e3a\u9879\u76ee\u9700\u8981\u4f7f\u7528Pillow\uff0c\u76f4\u63a5pip\u5b89\u88c5\u62a5\u9519\uff0c\u4ed6\u4e0b\u8f7d\u7684\u7684tar.gz\u6e90\u7801\u5305\uff0cwindows\u4e0a\u7f3a\u5c11zlib\u6240\u4ee5\u7f16\u8bd1\u662f\u5931\u8d25\u7684\u3002<\/p>\n


\n<\/p>\n

\u6240\u4ee5\u6211\u4eec\u53bb <\/a>https:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/#pil&nbsp<\/a>; \u4e0b\u8f7d\u4e86whl \u5305\uff0c\u53ef\u662f\u53c8\u62a5\u9519\u4e86\uff0c\u5982\u4e0b<\/p>\n

\n
Pillow-8.1.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.<\/code><\/pre>\n<\/div>\n

<\/p>\n

\u771f\u662f\u70e6\u900f\u4e86\uff0c\u548b\u529e\uff0c\u5176\u5b9ePython\u7684\u5e93\u5c31\u662f\u4e00\u4e9bpython\u6587\u4ef6\u800c\u5df2\uff0c\u6ca1\u4ec0\u4e48\u9ad8\u7ea7\u7684\u3002<\/p>\n

\u6211\u4eec\u628awhl\u5305\u540e\u7f00\u540d\u6539\u6210zip\uff0c\u7136\u540e\u518d\u5c06\u89e3\u538b\u51fa\u6765\u7684\u5168\u90e8\u6587\u4ef6\u62f7\u8d1d\u5230venv\u76ee\u5f55\u4e0b\u7684Lib\\site-packages\u76ee\u5f55\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n

\u6700\u540e\u6211\u4eec\u5237\u65b0\u4e0bpycharm\uff0c\u662f\u4e0d\u662f\u51fa\u6765\u4e86\u3002
\n<\/p>\n

\u5176\u5b9e\u5440\uff0c\u65e9\u70b9\u653e\u5f03virtualenv\uff0c\u6362\u4e0aanaconda\uff0c\u4f1a\u66f4\u597d\uff0c\u597d\u591a\u81ea\u5e26\u7684\u5305\u3002<\/p>\n

\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1aIPCPU-\u7f51\u7edc\u4e4b\u8def<\/a> » Windows\u5b89\u88c5Python\u5e93\u6587\u4ef6\u62a5\u9519<\/a><\/p>","protected":false},"excerpt":{"rendered":"

Windows\u5b89\u88c5Python\u5e93\u6587\u4ef6\u62a5\u9519.md \u56e0\u4e3a\u9879\u76ee\u9700\u8981\u4f7f\u7528Pillow\uff0c\u76f4\u63a5pip\u5b89\u88c5\u62a5\u9519\uff0c\u4ed6\u4e0b\u8f7d\u7684\u7684tar.gz\u6e90\u7801\u5305\uff0cwindows\u4e0a\u7f3a\u5c11zlib\u6240\u4ee5\u7f16\u8bd1\u662f\u5931\u8d25\u7684\u3002 \u6240\u4ee5\u6211\u4eec\u53bb https:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/#pil&nbsp; \u4e0b\u8f7d\u4e86whl \u5305\uff0c\u53ef\u662f\u53c8\u62a5\u9519\u4e86\uff0c\u5982\u4e0b Pillow-8.1.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform. \u771f\u662f\u70e6\u900f\u4e86\uff0c\u548b\u529e\uff0c\u5176\u5b9ePython\u7684\u5e93\u5c31\u662f\u4e00\u4e9bpython\u6587\u4ef6\u800c\u5df2\uff0c\u6ca1\u4ec0\u4e48\u9ad8\u7ea7\u7684\u3002 \u6211\u4eec\u628awhl\u5305\u540e\u7f00\u540d\u6539\u6210zip\uff0c\u7136\u540e\u518d\u5c06\u89e3\u538b\u51fa\u6765\u7684\u5168\u90e8\u6587\u4ef6\u62f7\u8d1d\u5230venv\u76ee\u5f55\u4e0b\u7684Lib\\site-packages\u76ee\u5f55\u5c31\u53ef\u4ee5\u4e86\u3002 \u6700\u540e\u6211\u4eec\u5237\u65b0\u4e0bpycharm\uff0c\u662f\u4e0d\u662f\u51fa\u6765\u4e86\u3002 \u5176\u5b9e\u5440\uff0c\u65e9\u70b9\u653e\u5f03virtualenv\uff0c\u6362\u4e0aanaconda\uff0c\u4f1a\u66f4\u597d\uff0c\u597d\u591a\u81ea\u5e26\u7684\u5305\u3002 \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1aIPCPU-\u7f51\u7edc\u4e4b\u8def » Windows\u5b89\u88c5Python\u5e93\u6587\u4ef6\u62a5\u9519<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[59],"_links":{"self":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/1366"}],"collection":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/comments?post=1366"}],"version-history":[{"count":3,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/1366\/revisions"}],"predecessor-version":[{"id":1476,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/1366\/revisions\/1476"}],"wp:attachment":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/media?parent=1366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/categories?post=1366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/tags?post=1366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}