Skip to content

Runs on Windows 11 with one cool fix... #262

Open
@Rob-Milliken

Description

@Rob-Milliken

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions