https://pulumi.com logo
#general
Title
# general
w

white-magician-15221

11/30/2023, 7:57 PM
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
l

lemon-laptop-7435

11/30/2023, 8:20 PM
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
d

dry-keyboard-94795

11/30/2023, 8:23 PM
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
runtime
section of your Pulumi.yaml please
l

limited-rainbow-51650

11/30/2023, 9:09 PM
@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
d

dry-keyboard-94795

11/30/2023, 9:11 PM
... Haha, sorry. I misread "6" for "9". Thanks, @limited-rainbow-51650
w

white-magician-15221

12/01/2023, 8:03 AM
requirements.txt pulumi>=3.0.0,<4.0.0 pulumi-aws>=6.0.2,<7.0.0
installed python 3.11 in virtualenv worked 👍