Skip to content
Advertisement

Tag: protocol-buffers

“protoc: not found” on an Alpine-based Docker container running Protocol Buffers

I’m trying to build a simple container which downloads a Protocol Buffers binary from the release page (https://github.com/protocolbuffers/protobuf/releases/tag/v3.13.0) and adds it to the path. Following the Linux instructions at http://google.github.io/proto-lens/installing-protoc.html, I’ve attempted the following Dockerfile: The problem is that if I build it using and run a shell in it, I get a protoc: not found error, even though the

Package import error when running Python 2 app on Azure App Services

The application works fine on my local linux server but I have trouble of running it on Azure. I checked the Files folder and all python libraries are installed correctly under /antenv2.7/lib/python2.7/site-packages. Here is my pip requirements file: But when gunicorn starts, it generates this error. I don’t know why protobuf can’t be imported while other libraries like Keras can

Advertisement