question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

protoc-gen-mypy: program not found or is not executable

See original GitHub issue

Summary

make all-devel failed with protoc-gen-mypy: program not found or is not executable

Steps to reproduce

make all-devel

Expected behavior:

It should build out successfully.

Actual behavior:

protoc-gen-mypy: program not found or is not executable Please specify a program using absolute path or make sure the program is available in your PATH system variable --mypy_out: protoc-gen-mypy: Plugin failed with status code 1.

Is this a regression?

That is, did this use to work the way you expected in the past? yes / no

Debug info

  • Streamlit version: (Streamlit, version 0.47.4)
  • Python version: (Python 3.7.3)
  • Using PipEnv
  • OS version: Mac OSX 10.15.2
  • Browser version:

Additional information

Latest streamlit commit @ 26c953641d5f91a1d59bf1cef205179105d4c6e3

Looks like it’s since this commit: https://github.com/streamlit/streamlit/pull/1079

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
zhaoooyuecommented, Mar 2, 2020

fixable via pip install mypy-protobuf

0reactions
whitencommented, Mar 5, 2020

Hi @1wpro2. Thanks for confirming the analysis of what went wrong. I understand that in your opinion we should retain the lock file. I think valid arguments can be made either way, and you should open a new bug if you want to articulate a clear reason why you think it should be retained that weighs the pros and cons.

In my opinion of that of the reviewers of that change, the value the lock file was providing was minor, and arguably negative. While it would ensure that an individual developer could consistently produce virtualenvs with the same dependency versions if the Pipfile hadn’t changed, the downside was that the world (i.e., the versions of those dependencies that other developer would receive) could be moving ahead, potentially with breaking changes, while the core Streamlit team was blissfully unaware.

I think this debate would be very different if we published a lockfile that was tested against, but we don’t, and we can’t really, because streamlit is used in environments with other libraries that we may share direct or indirect dependencies with.

The above mixed benefits and drawbacks, taken together with the lower latency of using pipenv with --skip-lock, led to the change we made.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error "protoc-gen-go: program not found or is not executable"
I have installed the required libraries and Go packages using: go get -u google.golang.org/grpc; go get -u github.com/golang/protobuf/protoc ...
Read more >
protoc-gen-swift: program not found or is not executable
protoc-gen-go-grpc: program not found or is not executable Check the $PATH environment variable and try again. This is most likely because the protoc-gen-go- ......
Read more >
mypy-protobuf - PyPI
Generate mypy stub files from protobuf specs.
Read more >
[jira] [Reopened] (BEAM-8979) protoc-gen-mypy
[jira] [Reopened] (BEAM-8979) protoc-gen-mypy: program not found or is not executable. Posted to issues@beam.apache.org.
Read more >
protoc-gen-objcgrpc: program not found or is not executable
with "pod install". Got the following message: protoc-gen-objcgrpc: program not found or is not executable. --objcgrpc_out: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found