Description
Once you get the round about with dependencies and figuring out how .sh installs stuff, you'll find the sweet spot to use protobuf v3.19.6 which requirements.txt tries to install some version of. Many versions other than this cause problems with other files. The windows version though does not have builder.py and one needs to paste the proper version into your environment for gradio to work. This is found at: https://github.com/protocolbuffers/protobuf/blob/d504255f922fdcd082d964b9d2f2b63e8c9be561/python/google/protobuf/internal/builder.py#L4 . You can find where to place this by running this on the cmd line:
python -c "import google; print(google.path[0])"
Take the directory it gives you and go two deeper: protobuf\internal. This is where you'll put your copied builder.py. It should now run well.