Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

from dpark import DparkContext ERROR #65

Closed
karottc opened this issue Nov 28, 2016 · 2 comments
Closed

from dpark import DparkContext ERROR #65

karottc opened this issue Nov 28, 2016 · 2 comments

Comments

@karottc
Copy link

karottc commented Nov 28, 2016

results is below:

raceback (most recent call last):
File "test_dpark.py", line 20, in
from dpark import DparkContext
File "/usr/lib64/python2.6/site-packages/DPark-0.3.5-py2.6-linux-x86_64.egg/dpark/init.py", line 1, in
from context import DparkContext, parser as optParser
File "/usr/lib64/python2.6/site-packages/DPark-0.3.5-py2.6-linux-x86_64.egg/dpark/context.py", line 10, in
from dpark.schedule import LocalScheduler, MultiProcessScheduler, MesosScheduler
File "/usr/lib64/python2.6/site-packages/DPark-0.3.5-py2.6-linux-x86_64.egg/dpark/schedule.py", line 15, in
import pymesos as mesos
File "/usr/lib64/python2.6/site-packages/pymesos-0.1.6-py2.6.egg/pymesos/init.py", line 1, in
from .scheduler import MesosSchedulerDriver
File "/usr/lib64/python2.6/site-packages/pymesos-0.1.6-py2.6.egg/pymesos/scheduler.py", line 18, in
from .process import UPID, Process, async
File "/usr/lib64/python2.6/site-packages/pymesos-0.1.6-py2.6.egg/pymesos/process.py", line 141
args = {f.name: getattr(msg, f.name) for f in msg.DESCRIPTOR.fields}
^
SyntaxError: invalid syntax

@windreamer
Copy link
Contributor

hi karottc, please use python 2.7,
2.6 is no longer supported by DPark

@karottc
Copy link
Author

karottc commented Nov 28, 2016

@windreamer thx

@karottc karottc closed this as completed Nov 28, 2016
ariesdevil pushed a commit to ariesdevil/dpark that referenced this issue Aug 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants