python代码 ImportError: No module named zmq
Traceback(mostrecentcalllast):File"C:\Users\Administrator\Desktop\BFS\BFS.py",line10,...
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\BFS\BFS.py", line 10, in <module>
import dspark as dpark
File "C:\Users\Administrator\Desktop\BFS\dspark\__init__.py", line 1, in <module>
from context import DsparkContext, parser as optParser
File "C:\Users\Administrator\Desktop\BFS\dspark\context.py", line 8, in <module>
from dspark.rdd import *
File "C:\Users\Administrator\Desktop\BFS\dspark\rdd.py", line 24, in <module>
from dspark.shuffle import Merger, CoGroupMerger
File "C:\Users\Administrator\Desktop\BFS\dspark\shuffle.py", line 15, in <module>
from dspark.env import env
File "C:\Users\Administrator\Desktop\BFS\dspark\env.py", line 6, in <module>
import zmq
ImportError: No module named zmq
[Finished in 0.3s with exit code 1] 展开
File "C:\Users\Administrator\Desktop\BFS\BFS.py", line 10, in <module>
import dspark as dpark
File "C:\Users\Administrator\Desktop\BFS\dspark\__init__.py", line 1, in <module>
from context import DsparkContext, parser as optParser
File "C:\Users\Administrator\Desktop\BFS\dspark\context.py", line 8, in <module>
from dspark.rdd import *
File "C:\Users\Administrator\Desktop\BFS\dspark\rdd.py", line 24, in <module>
from dspark.shuffle import Merger, CoGroupMerger
File "C:\Users\Administrator\Desktop\BFS\dspark\shuffle.py", line 15, in <module>
from dspark.env import env
File "C:\Users\Administrator\Desktop\BFS\dspark\env.py", line 6, in <module>
import zmq
ImportError: No module named zmq
[Finished in 0.3s with exit code 1] 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询