cl.exe'出口状态失败2

发布于 2025-01-25 03:46:59 字数 404 浏览 0 评论 0原文

我正在尝试安装TensorFlow,但我一直在遇到此错误,它可以与Python 3.7一起使用,但在此版本的Python上没有。有人知道为什么吗?

文件“ C:\ USER \ USER \ AppData \ Local \ Program \ Python \ Python \ Python35 \ lib \ lib \ distutils_msvccompiler.py”,第384行,在编译中 提高CompileError(MSG) distutils.errors.compileerror:命令'd:\ vs \ vc \ wools \ msvc \ msvc \ 14.31.31103 \ bin \ bin \ hostx86 \ x64 \ x64 \ cl.exe'失败,exit状态2


错误:GRPCIO失败的构建轮 运行设置

I am trying to pip install tensorflow but I keep getting this error, it works fine with python 3.7 but doesn't on this version of python. Does anyone know why?

File "c:\users\user\appdata\local\programs\python\python35\lib\distutils_msvccompiler.py", line 384, in compile
raise CompileError(msg)
distutils.errors.CompileError: command 'D:\VS\VC\Tools\MSVC\14.31.31103\bin\HostX86\x64\cl.exe' failed with exit status 2


ERROR: Failed building wheel for grpcio
Running setup.py clean for grpcio

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文