MockingBird pip install -r requirements.txt 出错

shstlldc  于 5个月前  发布在  其他
关注(0)|答案(6)|浏览(70)

做到 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.

2exbekwf

2exbekwf2#

没装vs吧

果然是VS的原因

nxagd54h

nxagd54h3#

vs

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

bfrts1fy

bfrts1fy4#

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

sczxawaw

sczxawaw6#

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

相关问题