运行肉末时出错



我在运行肉馅时遇到错误。代码在 octo.py 中运行正常。我不会像课程作业一样放置代码,但真的更喜欢肉末。错误如下:

C:Python27>python mincemeat.py -p changeme localhost
C:Python27>python mincemeat.py -v changeme localhost
Traceback (most recent call last):
  File "mincemeat.py", line 376, in <module>
    run_client()
  File "mincemeat.py", line 372, in run_client
    client.conn(args[0], options.port)
  File "mincemeat.py", line 149, in conn
    self.connect((server, port))
  File "C:Python27libasyncore.py", line 347, in connect
    err = self.socket.connect_ex(address)
  File "C:Python27libsocket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.gaierror: [Errno 11001] getaddrinfo failed
C:Python27>ping localhost
Pinging anand [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
mincemeat.py 正在

终止,因为它没有任何工作要做。 按照 https://github.com/michaelfairley/mincemeatpy 中的示例进行操作。 你需要运行你的mapreduce脚本然后 mincemeat.py。

相关内容

  • 没有找到相关文章

最新更新