从mesosphere yum存储库安装mesos

vzgqcmou  于 2021-06-26  发布在  Mesos
关注(0)|答案(1)|浏览(448)

我正在尝试将mesos安装到我的容器(centos 7)中,以便为我的调度程序(python)安装mesos库。
我遵循了“安装mesos软件包”一节https://open.mesosphere.com/downloads/mesos/
成功运行后:

$ rpm -Uvh http://repos.mesosphere.com/el/7/noarch/RPMS/mesosphere-el-repo-7-3.noarch.rpm
$ yum -y install --enablerepo=mesosphere mesos
$ pip install protobuf

我在pip中看到mesos包
但是,从python中,我无法导入mesos调度程序驱动程序:

Python 2.7.5 (default, Nov  6 2016, 00:28:07)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mesos.interface import Scheduler
>>> from mesos.native import MesosSchedulerDriver
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/mesos/native/__init__.py", line 18, in <module>
    from mesos.scheduler import MesosSchedulerDriver
  File "/usr/lib/python2.7/site-packages/mesos/scheduler/__init__.py", line 17, in <module>
    from ._scheduler import MesosSchedulerDriverImpl as MesosSchedulerDriver
ImportError: /usr/lib/python2.7/site-packages/mesos/scheduler/_scheduler.so: undefined symbol: svn_txdelta2

有什么想法吗?

ncgqoxb0

ncgqoxb01#

嗯,我不是这方面的Maven,但我认为软件包没有安装开发依赖项。看一看http://mesos.apache.org/gettingstarted/
在您的情况下,您似乎错过了svn库。

相关问题