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?
現貨正確。 – Till
入門頁面指示從源構建mesos。這是運行自定義mesos框架的先決條件嗎? 關於缺少的SVN庫,我需要安裝缺少的庫嗎?我嘗試了以下運氣: $ yum install subversion mod_dav_svn –
嘗試'$ yum install subversion-devel' – Tobi