Open erelief opened 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.
没装vs吧
果然是VS的原因
vs
要装哪个版本 vs ,我装了咋还是不行 @LyctorGod
python3.8安装VS2019同问 @U-DI-Page
@111zhangsan 请问python3.11安装vs2022,报同样错误,怎么解决?
做到 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.