【问题标题】:mysql wheel is not supported wheel on this platform此平台不支持 mysql 轮子
【发布时间】:2019-03-25 07:27:14
【问题描述】:

我正在尝试安装 mysqlclient 但它收到错误请帮助 谢谢。

  C:/desktop>pip install mysqlclient-1.4.2-cp35-cp35m-win_amd64.whl

错误

 mysqlclient-1.4.2-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

我的python版本是

C:\Users>python
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit
(Intel)] on win32

【问题讨论】:

  • 您的 Python 是 32 位的,您正在尝试安装 64 位的轮子。那是行不通的。
  • 如果不能切换到64位Python,Windows有32位非官方轮子on this site
  • 还是不行,请帮忙
  • code: (exampleTest) F:\Dbtest\exampleSLA>python Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32 键入“help”、“copyright”、“credits”或“license”以获取更多信息。 >>> exit() (exampleTest) F:\Dbtest\exampleSLA>pip install mysqlclient-1.4.2-cp27-cp27m-win3 2.whl mysqlclient-1.4.2-cp27-cp27m-win32.whl 不是支持的轮子在这个平台上。
  • 它不适用于ubuntu,有人知道如何安装mysqlclient wheel吗?

标签: python mysql mysql-python


【解决方案1】:

我解决了。 mysqlclient 至少对我来说不能使用 32 位 python。 所以,我下载了 64 位的 Python 3+。现在一切正常

【讨论】:

    猜你喜欢
    • 2017-07-16
    • 2016-12-16
    • 1970-01-01
    • 2018-06-30
    • 2018-03-30
    • 2017-01-09
    • 2021-04-29
    • 2016-02-10
    相关资源
    最近更新 更多