###### python环境安装pysptk不成功,尝试了多个python版本,从3.5到3.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
已结题
安装pysptk出错
- 写回答
- 好问题 提建议
- 追加酬金
- 关注问题
- 分享
- 邀请回答