pip install mysqlclient安装失败经历(macbook m1pro)

记录一次安装mysqlclient的经历

使用命令安装 python3.11  -m install mysqlclient==2.2,出现以下报错

温馨提示:

        如果大家也是MacBook m系列芯片的电脑,建议直接按照官网步骤安装,轻松完成安装,没有必要在花费大量的时间去找安装教程,同时还不一定安装成功!!!

        因为我好久没有用win了,不了解win,这里只能分享MacBook的!!!

 Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [25 lines of output]
      Trying pkg-config --exists mysqlclient
      Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
      Trying pkg-con

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值