title: Protobuf compatibility error when running Kedro pipeline
body: <p>I have a Kedro pipeline that I want to run through a Python script, I think I have the minimum necessary code to do this, but everytime I try to run the pipeline through the script, I get a compatibility error regarding the protobuf version, but when I run the pipeline through the terminal it runs without problems. It is important to say that I am running everything inside a Docker container, and the image is based on PyTorch (version 1.9.0 and cuda 11.1).</p>
  <p>This is the code I am using to call the pipeline:</p>
  <pre><code>from kedro.framework.context import load_context
  
  class TBE():
    def run_inference():
      context = load_context('./')
      output = context.run(pipeline='inf')
      return output
  </code></pre>
  <p>And here is the error that I get when I run it:</p>
  <pre><code>[libprotobuf FATAL google/protobuf/stubs/common.cc:83] This program was compiled against 
  version 3.9.2 of the Protocol Buffer runtime library, which is not compatible with the 
  installed version (3.19.4).  Contact the program author for an update.  If you compiled 
  the program yourself, make sure that your headers are from the same version of Protocol 
  Buffers as your link-time library.  (Version verification failed in &quot;bazel-out/k8- 
  opt/bin/tensorflow/core/framework/tensor_shape.pb.cc&quot;.)
  terminate called after throwing an instance of 'google::protobuf::FatalException'
  what():  This program was compiled against version 3.9.2 of the Protocol Buffer runtime 
  library, which is not compatible with the installed version (3.19.4).  Contact the 
  program author for an update.  If you compiled the program yourself, make sure that your 
  headers are from the same version of Protocol Buffers as your link-time library.  
  (Version verification failed in &quot;bazel-out/k8- 
  opt/bin/tensorflow/core/framework/tensor_shape.pb.cc&quot;.)
  Aborted
  </code></pre>
  <p>I have already tried changing the protobuf version, but I cannot find a compatible one. What can I do to solve this problem?</p>