当前位置:   article > 正文

ERROR: Could not build wheels for pysptk, which is required to install pyproject.toml-based projects

error: could not build wheels for pysptk, which is required to install pypro

请参考
https://blog.csdn.net/m0_56190554/article/details/129296269
报错

      building 'pysptk._sptk' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/   
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pysptk
Failed to build pysptk
ERROR: Could not build wheels for pysptk, which is required to install pyproject.toml-based projects

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

解决:

  1. 进入 vs官网,下载安装

image.png

  1. 成功安装后,还要安装以下内容:

image.png

  1. 重新执行 pip, 成功下载!

注意一定勾选上“使用C++的桌面开发”,只安装 MSBuild工具 是没用的, 我已经帮大家验证过了,然后“使用C++的桌面开发”中的可选内容,我没有测试需要哪一个,我使用的是默认的前五个,你们有兴趣可以自己试试不勾选,然后看看报不报错。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Li_阴宅/article/detail/947003
推荐阅读
相关标签
  

闽ICP备14008679号