This message was deleted.
# python
s
This message was deleted.
b
can you try this again after running
pip install wheel
it looks like because you don’t have the
wheel
package installed locally, the package isn’t able to build
c
thanks Ill give this a try. as far as documentation goes this is the third package having to be installed ( msft visual c++, grpcio , wheel ) and there is no mention anywhere in the getting started guides.
b
that’s totally fair feedback. Could you file an issue in github.com/pulumi/docs ?
c
will do. Seems I might still be having issues with grpcio even though I installed it using pip: could this be a versioning issue or something?
id send more but I have thousands of lines of errors
i am able to install version 1.50 no issue. this version just wont install.
b
which version of grpcio is it trying to install?
c
what i have installeD vs. it wants 1.47
very odd that this is failing on my personal laptop and a brand new windows 11 vm in azure. same issue on both.
b
what’s the first line of the error message?
c
Copy code
note: This error originates from a subprocess, and is likely not a problem with pip.
  Rolling back uninstall of grpcio
  Moving to c:\python311\lib\site-packages\grpc\
   from C:\Python311\Lib\site-packages\~rpc
  Moving to c:\python311\lib\site-packages\grpcio-1.50.0.dist-info\
   from C:\Python311\Lib\site-packages\~rpcio-1.50.0.dist-info
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> grpcio

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Copy code
"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\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.47.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 -DMS_WIN64=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\xxhash -Ithird_party\zlib -IC:\Python311\include -IC:\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-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 /Tpsrc/core/ext/filters/census/grpc_context.cc /Fopython_build\temp.win-amd64-cpython-311\Release\src/core/ext/filters/census/grpc_context.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'
      <http://grpc_context.cc|grpc_context.cc>
b
and which version of python are you using?
c
chughes 120214> python --version Python 3.11.0
going to look into updating visualstudio buiild tools seems its a 2017 version right now
b
can you try downgrading python to
3.10.x
? maybe with
pyenv
?
@careful-apartment-69053 fot confirmation from the team that python 3.11 is affected by this, sorry this wasn’t documented well https://github.com/pulumi/pulumi/pull/11238 if you downgrade to python
3.10.x
it should work
c
ok thank you!
this all works. still one error in a file copy but its not impacting usability. thanks for the help @billowy-army-68599
❤️ 1
b
Just found this thread, was struggling with same issue. Will try a Python downgrade as well.
e
Thanks so much for this thread! I'm running into the exact same issue on macOS Catalina 10.15.7 and Python 3.11. I'll also try downgrading to Python 3.10.