angelfish
2022-05-27 12:21
采纳率: 100%
浏览 80

安装pysptk出错

###### python环境安装pysptk不成功,尝试了多个python版本,从3.53.10。

###### pip install pysptk

######  cl: 命令行 warning D9002 :忽略未知选项“-std=c99”
  swipe.c
  lib\SPTK\bin\pitch\swipe\swipe.c(115): warning C4273: “log2”: dll 链接不一致
  lib\SPTK\bin\pitch\swipe\swipe.c(115): note: 参见“log2”的前一个定义
  lib\SPTK\bin\pitch\swipe\swipe.c(115): error C2169: “log2”: 内部函数,不能定义
  lib\SPTK\bin\pitch\swipe\swipe.c(122): warning C4273: “round”: dll 链接不一致
............中间省略.......................
 error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for pysptk
Failed to build pysptk
ERROR: Could not build wheels for pysptk which use PEP 517 and cannot be installed directly
(singmix35) C:\Users\DELL>pip install pysptk


###### 应该是环境问题,有安装成功的朋友可否告知你们的python版本?

###### 能够成功安装pysptk

5条回答 默认 最新

相关推荐 更多相似问题