babysor / MockingBird

🚀AI拟声: 5秒内克隆您的声音并生成任意语音内容 Clone a voice in 5 seconds to generate arbitrary speech in real-time
Other
34.88k stars 5.18k forks source link

pip install -r requirements.txt 出错 #849

Open erelief opened 1 year ago

erelief commented 1 year ago

做到 pip install -r requirements.txt 这个步骤出错,前面都正常,在 anaconda 里完成的

Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [275 lines of output]

...

TypeError: CCompiler_spawn() got an unexpected keyword argument 'env' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

YIZXIY commented 1 year ago

没装vs吧

LyctorGod commented 1 year ago

没装vs吧

果然是VS的原因

U-DI-Page commented 1 year ago

vs

要装哪个版本 vs ,我装了咋还是不行 @LyctorGod

111zhangsan commented 1 year ago

python3.8安装VS2019同问 @U-DI-Page

111zhangsan commented 1 year ago

image

jinwa7262 commented 1 year ago

@111zhangsan 请问python3.11安装vs2022,报同样错误,怎么解决?