【问题标题】:How do I fix "error: error in setup.cfg: command 'bdist_wheel' has no such option 'universal'"如何修复“错误:setup.cfg 中的错误:命令 'bdist_wheel' 没有这样的选项 'universal'”
【发布时间】:2018-03-23 18:07:22
【问题描述】:

在做python setup.py bdist_wheel时出现错误:

error: error in setup.cfg: command 'bdist_wheel' has no such option 'universal'

我该如何解决这个问题?

【问题讨论】:

    标签: python setuptools python-wheel


    【解决方案1】:

    原来我的wheel 包已经过时了(v0.22 还不够新)。一个快速的pip install --upgrade wheel,它构建得很愉快。

    不过,在我弄清楚这一点之前,我花了半个小时毫无结果地升级 pipsetuptoolspython-distutils-extra

    【讨论】:

      猜你喜欢
      • 2021-03-24
      • 2018-12-07
      • 2011-12-28
      • 1970-01-01
      • 2020-03-20
      • 1970-01-01
      • 2023-03-05
      • 2020-12-13
      • 2021-03-29
      相关资源
      最近更新 更多