[
https://issues.apache.org/jira/browse/MESOS-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120770#comment-14120770
]
Thomas Rampelberg commented on MESOS-1750:
------------------------------------------
It'd be possible to have dummy modules at the `mesos.interface` layer which
makes it possible to import mesos.interface.mesos_pb2 from externally and let
the generated pb2s import as they see fit.
That said, I still prefer the sed option.
> ImportError in containerizer_pb2.py
> -----------------------------------
>
> Key: MESOS-1750
> URL: https://issues.apache.org/jira/browse/MESOS-1750
> Project: Mesos
> Issue Type: Bug
> Components: python api
> Reporter: Till Toenshoff
> Labels: mesos.interface, python-egg
>
> It appears as if the split of the Python egg (native/interface/protocol) has
> introduced a new issue.
> Whenever I am trying to use {{from mesos.interface import
> containerizer_pb2}}, I am receiving an {{ImportError: No module named
> mesos_pb2}}.
> For replicating this issue, try running
> {{"build/src/examples/python/test-containerizer"}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)