# general


07/29/2022, 4:08 PM
Hello, could someone provide some insight into why running
pulumi preview
on a brand new M1 Macbook which is configured (aside for maybe versions of tools) similarly to another machine on which everything works fine:
File "/Users/[REDACTED]/venv/lib/python3.9/site-packages/google/protobuf/", line 560, in __new__
TypeError: Descriptors cannot not be created directly.
If this call came from a file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: <>
Using pulumi version 3.37.1 and python 3.9.13 On another box I'm using same python version and pulumi 3.34.1 and I do not encounter this issue. Any ideas if this could be pulumi version or could come from something else?


07/29/2022, 5:55 PM
You need the right pulumi version and the right protobuf version, 3.36.0 regenerated the protobufs for python protobuf version 4.21
🙌 1