Mesos/src/examples/python/test_框架.py25号线,原生中胚层找不到

2024-05-20 21:37:56 发布

您现在位置:Python中文网/ 问答频道 /正文

我在Ubuntu14.04上部署apachemesos-0.23 此错误来自最后一步

# Run Python framework (Exits after successfully running some tasks.).

$ ./src/examples/python/test-framework 127.0.0.1:5050
source code:
----
25 import mesos.native
-----
Mesos/src/examples/python/test_framework.py  line 25, mesos.native could not found

谁能帮我解决这个问题?在


Tags: runtestsrc部署错误frameworksomeexamples
1条回答
网友
1楼 · 发布于 2024-05-20 21:37:56

您可以尝试通过yum或apt-get安装mesos

https://open.mesosphere.com/getting-started/datacenter/install/

Ubuntu:

# Setup
sudo apt-key adv  keyserver keyserver.ubuntu.com  recv E56151BF
DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
CODENAME=$(lsb_release -cs)

# Add the repository
echo "deb http://repos.mesosphere.com/${DISTRO} ${CODENAME} main" | \
  sudo tee /etc/apt/sources.list.d/mesosphere.list
sudo apt-get -y update
sudo apt-get -y install mesos

世纪6:

^{pr2}$

我可以从中获得成功。在

相关问题 更多 >