andreigurau commented on issue #22742:
URL: https://github.com/apache/beam/issues/22742#issuecomment-1333144265

   Just wanted to chime in: I also have an M1 mac and struggled to get Beam 
working for Python. protobuf 3.20.x does not work for me (I get a `KeyError: 
'Unknown descriptor pool'` error every time I run `python gen_protos.py` or a 
`pytest` command with those versions), but v3.19.4 works. I still have to run 
the above commands Abacn posted, but using `...protobuf/3.19.4/...` instead of 
`...protobuf@3/3.20.1/...`
   
   That being said, after installing that pip installing that version, I'm 
seeing
   
   ```
   ERROR: pip's dependency resolver does not currently take into account all 
the packages that are installed. This behaviour is the source of the following 
dependency conflicts.
   googleapis-common-protos 1.57.0 requires 
protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5,
 but you have protobuf 3.19.4 which is incompatible.
   google-cloud-vision 3.1.4 requires 
protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5,
 but you have protobuf 3.19.4 which is incompatible.
   google-cloud-spanner 3.23.0 requires 
protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5,
 but you have protobuf 3.19.4 which is incompatible.
   google-cloud-pubsub 2.13.11 requires 
protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5,
 but you have protobuf 3.19.4 which is incompatible.
   google-cloud-dlp 3.9.2 requires 
protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5,
 but you have protobuf 3.19.4 which is incompatible.
   google-cloud-bigquery 3.4.0 requires 
protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5,
 but you have protobuf 3.19.4 which is incompatible.
   google-api-core 2.10.2 requires 
protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5,
 but you have protobuf 3.19.4 which is incompatible.
   ```
   
   (at the moment, that doesn't what I need to do, and I'm rarely contributing 
to the python SDK so it's not important right now, but in short, I'm not sure 
why I have to use a previous version of protobuf)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to