I have macbookpro M2 with sanoma 14.11 and python ...
# general
I have macbookpro M2 with sanoma 14.11 and python 3.12.0 I want to do: pulumi up and get message I need to do: pip3 install -r requirements.txt When I do this i get: note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for grpcio Running setup.py clean for grpcio Failed to build grpcio ERROR: Could not build wheels for grpcio, which is required to install pyproject.toml-based projects pulumi on M2 wont start
is the grpcio version pinned?
Wondering if it's a version that doesn't support 3.12, I just ran
pip install grpcio
on my m2 and it installed
Recent versions of pulumi are pinned to 1.59.2, which has wheels prebuilt already. Can you do:
Copy code
pip3 --version
It's concerning that's the install command it recommends instead of something relating to the venv. Can you send the requirements.txt file, and the
section of your Pulumi.yaml please
@white-magician-15221 you will have to stay at Python 3.11 for now. We are tracking an issue in upstream gRPC and can't support 3.12 until that one is fixed. https://github.com/pulumi/pulumi/issues/14258
... Haha, sorry. I misread "6" for "9". Thanks, @limited-rainbow-51650
requirements.txt pulumi>=3.0.0,<4.0.0 pulumi-aws>=6.0.2,<7.0.0
installed python 3.11 in virtualenv worked 👍