{"id":391,"date":"2020-07-11T11:14:01","date_gmt":"2020-07-11T03:14:01","guid":{"rendered":"https:\/\/www.wangliguang.cn\/?p=391"},"modified":"2020-07-11T11:14:01","modified_gmt":"2020-07-11T03:14:01","slug":"%e8%a7%a3%e5%86%b3not-a-supported-wheel-on-this-platform-%e8%a7%a3%e5%86%b3pip-has-no-attribute-pep425tags-%e8%a7%a3%e5%86%b3%e7%bd%91%e4%b8%8a%e6%97%a7%e6%95%99%e7%a8%8b%e4%b8%8d%e9%80%82%e7%94%a8","status":"publish","type":"post","link":"https:\/\/wangliguang.cn\/?p=391","title":{"rendered":"\u89e3\u51b3not a supported wheel on this platform-\u89e3\u51b3pip has no attribute pep425tags-\u89e3\u51b3\u7f51\u4e0a\u65e7\u6559\u7a0b\u4e0d\u9002\u7528"},"content":{"rendered":"<h2>\u80cc\u666f<\/h2>\n<p>\u4eca\u5929\u5728\u7ed9\u6811\u8393\u914d\u5b89\u88c5tensorflow\u7684\u4f7f\u7528\uff0c\u63d0\u793atensorflow-2.0.0-cp37-none-linux_armv7l.whl <strong>is not a supported wheel on this platform\u3002<\/strong><br \/>\n\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\uff0c\u662f\u7531\u4e8e\u8fd9\u4e2awhl<strong>\u548c\u7cfb\u7edfpython\u7248\u672c\u4e0d\u5339\u914d<\/strong>\u5bfc\u81f4\u7684\uff0c\u5e76\u4ecb\u7ecd\u4e86\u5982\u4f55\u67e5\u770b\u5f53\u524dpython\u652f\u6301\u7684\u7248\u672c\u3002<br \/>\n\u7136\u800c\uff0c<strong>\u7f51\u4e0a\u7684\u6559\u7a0b\u975e\u5e38\u8001\u65e7<\/strong>\uff0c\u6309\u7167\u7f51\u4e0a\u6559\u7a0b\u64cd\u4f5c\u540e\uff0c\u4f1a\u63d0\u793a<strong>pip has no attribute pep425tags<\/strong>\u3002\u7ecf\u8fc7\u6211\u591a\u6b21\u641c\u96c6\u8d44\u6599\u548c\u5c1d\u8bd5\uff0c\u603b\u7b97\u627e\u5230\u7684\u5728pip 20.0\u7b49\u7248\u672c\u4e0a\u53ef\u7528\u7684\u547d\u4ee4\uff01<\/p>\n<h2>1 \u5df2\u77e5\u65e0\u6548\u7684\u547d\u4ee4<\/h2>\n<p>\u9996\u5148\u5217\u4e3e\u5728\u8f83\u65b0\u7248\u672c\u7684pip\u4e2d<strong>\u65e0\u6548\u7684\u547d\u4ee4<\/strong>\u3002\u5982\u679c\u5728\u8f83\u65b0\u7248\u672c\u7684pip\u4e2d\u4f7f\u7528\u8fd9\u4e9b\u547d\u4ee4\uff0c\u5c06\u4f1a\u63d0\u793a<strong>pip has no attribute pep425tags<\/strong>\u3002<br \/>\n\u65e0\u6548\u65e7\u6559\u7a0b\u4e00\uff1a<\/p>\n<pre><code class=\"language-Python \">import pip\nprint(pip.pep425tags.get_supported())\n<\/code><\/pre>\n<p>\u65e0\u6548\u65e7\u6559\u7a0b\u4e8c\uff1a<\/p>\n<pre><code class=\"language-Python \">import pip._internal\nprint(pip._internal.pep425tags.get_supported())\n<\/code><\/pre>\n<p>\u4e0a\u9762\u4e3a\u76ee\u524d\u7f51\u4e0a\u5927\u91cf\u5145\u65a5\u7684\u6559\u7a0b\uff0c\u8fd9\u4e9b<strong>\u5747\u4e3a\u65e7\u7248pip\u7684\u6559\u7a0b<\/strong>\uff0c<strong>\u5e76\u4e0d\u9002\u7528\u4e8epip 20.0\u751a\u81f3\u4e34\u8fd1\u7248\u672c<\/strong>\u3002<br \/>\n\u4f7f\u7528\u4e0a\u8ff0\u65e7\u6559\u7a0b\uff0c\u4f1a\u5f97\u5230<strong>pip has no attribute pep425tags<\/strong>\u3002\u5982\u4e0b\u56fe\u6240\u793a\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wangliguang.cn\/wp-content\/uploads\/2020\/07\/\u6279\u6ce8-2020-07-11-110413.png\" alt=\"\" \/><br \/>\n\u5728\u6b64\uff0c\u7ecf\u8fc7\u535a\u4e3b\u5927\u91cf\u641c\u96c6\u8d44\u6599\u548c\u5c1d\u8bd5\uff0c\u7ec8\u4e8e\u627e\u5230\u4e86\u5728pip 20.0\u7248\u672c\u4e0a\u53ef\u7528\u7684\u65b9\u6cd5\u3002<\/p>\n<h2>2 \u7ecf\u6d4b\u8bd5\u6709\u6548\u7684\u547d\u4ee4<\/h2>\n<p>\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u8fd9\u4e2a\u7ecf\u8fc7\u6d4b\u8bd5\u6709\u6548\u7684\u547d\u4ee4\uff0c\u6765\u67e5\u770b\u5f53\u524dPython\u7248\u672c\u5339\u914d\u90a3\u4e9b\u6587\u4ef6\u3002<br \/>\n\u6709\u6548\u547d\u4ee4\uff1a<br \/>\n<code>pip debug --verbose<\/code><br \/>\n\u8f93\u5165\u8fd9\u4e2a\u547d\u4ee4\u540e\uff0c\u4f1a\u8f93\u51fa\u5927\u91cf\u4fe1\u606f\uff1a<\/p>\n<blockquote><p>\n  pip version: pip 20.1.1 from \/home\/pi\/Softwares\/venv3\/lib\/python3.7\/site-packages\/pip (python 3.7)<br \/>\n  sys.version: 3.7.3 (default, Dec 20 2019, 18:57:59)<br \/>\n  [GCC 8.3.0]<br \/>\n  sys.executable: \/home\/pi\/Softwares\/venv3\/bin\/python<br \/>\n  sys.getdefaultencoding: utf-8<br \/>\n  sys.getfilesystemencoding: utf-8<br \/>\n  locale.getpreferredencoding: UTF-8<br \/>\n  sys.platform: linux<br \/>\n  sys.implementation:<br \/>\n    name: cpython<br \/>\n  'cert' config value: global<br \/>\n  REQUESTS_CA_BUNDLE: None<br \/>\n  CURL_CA_BUNDLE: None<br \/>\n  pip._vendor.certifi.where(): \/home\/pi\/Softwares\/venv3\/lib\/python3.7\/site-packages\/pip\/_vendor\/certifi\/cacert.pem<br \/>\n  pip._vendor.DEBUNDLED: False<br \/>\n  vendored library versions:<br \/>\n    appdirs==1.4.3<br \/>\n    CacheControl==0.12.6<br \/>\n    colorama==0.4.3<br \/>\n    contextlib2==0.6.0.post1 (Unable to locate actual module version, using vendor.txt specified version)<br \/>\n    distlib==0.3.0<br \/>\n    distro==1.5.0 (Unable to locate actual module version, using vendor.txt specified version)<br \/>\n    html5lib==1.0.1<br \/>\n    ipaddress==1.0.23<br \/>\n    msgpack==1.0.0 (Unable to locate actual module version, using vendor.txt specified version)<br \/>\n    packaging==20.3<br \/>\n    pep517==0.8.2<br \/>\n    progress==1.5<br \/>\n    pyparsing==2.4.7<br \/>\n    requests==2.23.0<br \/>\n    certifi==2020.04.05.1<br \/>\n    chardet==3.0.4<br \/>\n    idna==2.9<br \/>\n    urllib3==1.25.8<br \/>\n    resolvelib==0.3.0<br \/>\n    retrying==1.3.3 (Unable to locate actual module version, using vendor.txt specified version)<br \/>\n    setuptools==44.0.0 (Unable to locate actual module version, using vendor.txt specified version)<br \/>\n    six==1.14.0<br \/>\n    toml==0.10.0<br \/>\n    webencodings==0.5.1 (Unable to locate actual module version, using vendor.txt specified version)<br \/>\n  Compatible tags: 44<br \/>\n    cp37-cp37m-manylinux2014_armv7l<br \/>\n    cp37-cp37m-linux_armv7l<br \/>\n    cp37-abi3-manylinux2014_armv7l<br \/>\n    cp37-abi3-linux_armv7l<br \/>\n    cp37-none-manylinux2014_armv7l<br \/>\n    cp37-none-linux_armv7l<br \/>\n    cp36-abi3-manylinux2014_armv7l<br \/>\n    cp36-abi3-linux_armv7l<br \/>\n    cp35-abi3-manylinux2014_armv7l<br \/>\n    cp35-abi3-linux_armv7l<br \/>\n    cp34-abi3-manylinux2014_armv7l<br \/>\n    cp34-abi3-linux_armv7l<br \/>\n    cp33-abi3-manylinux2014_armv7l<br \/>\n    cp33-abi3-linux_armv7l<br \/>\n    cp32-abi3-manylinux2014_armv7l<br \/>\n    cp32-abi3-linux_armv7l<br \/>\n    py37-none-manylinux2014_armv7l<br \/>\n    py37-none-linux_armv7l<br \/>\n    py3-none-manylinux2014_armv7l<br \/>\n    py3-none-linux_armv7l<br \/>\n    py36-none-manylinux2014_armv7l<br \/>\n    py36-none-linux_armv7l<br \/>\n    py35-none-manylinux2014_armv7l<br \/>\n    py35-none-linux_armv7l<br \/>\n    py34-none-manylinux2014_armv7l<br \/>\n    py34-none-linux_armv7l<br \/>\n    py33-none-manylinux2014_armv7l<br \/>\n    py33-none-linux_armv7l<br \/>\n    py32-none-manylinux2014_armv7l<br \/>\n    py32-none-linux_armv7l<br \/>\n    py31-none-manylinux2014_armv7l<br \/>\n    py31-none-linux_armv7l<br \/>\n    py30-none-manylinux2014_armv7l<br \/>\n    py30-none-linux_armv7l<br \/>\n    cp37-none-any<br \/>\n    py37-none-any<br \/>\n    py3-none-any<br \/>\n    py36-none-any<br \/>\n    py35-none-any<br \/>\n    py34-none-any<br \/>\n    py33-none-any<br \/>\n    py32-none-any<br \/>\n    py31-none-any<br \/>\n    py30-none-any\n<\/p><\/blockquote>\n<p>\u4ece\u4e2d\u6211\u4eec\u53ef\u4ee5\u770b\u5230<strong>Compatible tags<\/strong>\u5b57\u6837\uff0c\u8fd9\u4e9b\u5c31\u662f\u5f53\u524dPython\u7248\u672c\u53ef\u4ee5\u9002\u914d\u7684\u6807\u7b7e\u3002<\/p>\n<h3>3 \u6ce8\u610f<\/h3>\n<p>\u4e4b\u524d\u65e7\u7248\u672c\u7684\u65e0\u6548\u547d\u4ee4\u662fPython\u547d\u4ee4\uff0c\u800c\u6b64\u6b21\u6709\u6548\u547d\u4ee4\u5219\u662fpip\u547d\u4ee4\uff0c<strong>\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\uff0c\u4e0d\u8981\u5728Python\u89e3\u91ca\u5668\u4e2d\u8f93\u5165\u54e6<\/strong>\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u80cc\u666f \u4eca\u5929\u5728\u7ed9\u6811\u8393\u914d\u5b89\u88c5tensorflow\u7684\u4f7f\u7528\uff0c\u63d0\u793atensorflow-2.0.0-cp37-none-&hellip; <a href=\"https:\/\/wangliguang.cn\/?p=391\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">\u89e3\u51b3not a supported wheel on this platform-\u89e3\u51b3pip has no attribute pep425tags-\u89e3\u51b3\u7f51\u4e0a\u65e7\u6559\u7a0b\u4e0d\u9002\u7528<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-391","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"https:\/\/wangliguang.cn\/index.php?rest_route=\/wp\/v2\/posts\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wangliguang.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wangliguang.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wangliguang.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wangliguang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=391"}],"version-history":[{"count":0,"href":"https:\/\/wangliguang.cn\/index.php?rest_route=\/wp\/v2\/posts\/391\/revisions"}],"wp:attachment":[{"href":"https:\/\/wangliguang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wangliguang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wangliguang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}