Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed building wheel for grpcio #144

Open
rperdon opened this issue Jul 12, 2023 · 2 comments
Open

Failed building wheel for grpcio #144

rperdon opened this issue Jul 12, 2023 · 2 comments

Comments

@rperdon
Copy link

rperdon commented Jul 12, 2023

windows 10 machine
python 3.7.0
Current version of setuptools was 68.0.0

Tried installing recommended version 40.7.1 as per readme
pip --upgrade setuptools==47.1.0

Same error

The error out message is long, but seems to be an issue with the VC tools version?

  "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"\\\"Python\\\"\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"\\\"1.56.0\\\"\" -DOPENSSL_NO_ASM=1 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DWIN32_LEAN_AND_MEAN=1 -DCARES_STATICLIB=1 -DGRPC_ARES=0 -DNTDDI_VERSION=100663296 -DNOMINMAX=1 -DNTDDI_VERSION=100663296 -DGRPC_DO_NOT_INSTANTIATE_POSIX_POLLER=1 -Isrc\python\grpcio -Iinclude -I. -Ithird_party\abseil-cpp -Ithird_party\address_sorting\include -Ithird_party\cares\cares\include -Ithird_party\cares -Ithird_party\cares\cares -Ithird_party\re2 -Ithird_party\boringssl-with-bazel\src\include -Ithird_party\upb -Isrc\core\ext\upb-generated -Isrc\core\ext\upbdefs-generated -Ithird_party\utf8_range -Ithird_party\xxhash -Ithird_party\zlib -IC:\Python\Python37\include -IC:\Python\Python37\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tcsrc/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c /Fopython_build\temp.win32-cpython-37\Release\src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.obj -std=c++14 /MT
  cl : Command line warning D9025 : overriding '/MD' with '/MT'
  cl : Command line warning D9002 : ignoring unknown option '-std=c++14'
@excaliburne
Copy link

Hey,

Python 3.7.x has reached its EOL last month [https://devguide.python.org/versions/], I wouldn't recommend using that Python version anymore.

I'm super unfamiliar with Visual Studio builds on Windows, could you lay down what you've tried and your current setup?

@rperdon
Copy link
Author

rperdon commented Jul 17, 2023

Close this, I solved it. After I had swapped python versions, I forgot to redo the requirements software versions in the requirements text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants