2017-04-20 70 views
0

我試圖在我的容器(CentOS 7)中安裝Mesos來爲我的調度器(python)安裝Mesos庫。從Mesosphere yum版本庫安裝Mesos

我跟着https://open.mesosphere.com/downloads/mesos/

'安裝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包

然而,從蟒蛇,我無法導入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 

任何我DEAS?

回答

2

那麼,我不是這方面的專家,但我認爲軟件包不會安裝開發依賴項。看看http://mesos.apache.org/gettingstarted/

就你而言,你似乎錯過了一個SVN庫。

+0

現貨正確。 – Till

+0

入門頁面指示從源構建mesos。這是運行自定義mesos框架的先決條件嗎? 關於缺少的SVN庫,我需要安裝缺少的庫嗎?我嘗試了以下運氣: $ yum install subversion mod_dav_svn –

+1

嘗試'$ yum install subversion-devel' – Tobi