insidesherpa / JPMC-tech-task-1

56 stars 352 forks source link

Issue #138

Closed prachirathod99 closed 4 years ago

prachirathod99 commented 4 years ago

C:\Users.....\JPMC-tech-task-1>python server.py Traceback (most recent call last): File "server.py", line 21, in from itertools import izip ImportError: cannot import name 'izip' from 'itertools' (unknown location)

ankmish commented 4 years ago

If you are using python3.x version, izip is not supported. New version of python provide default zip() function.

Just comment the from itertools import izip and change function name izip() to zip(), it will work.

Hope this will resolve your problem.

prachirathod99 commented 4 years ago

Hi,

Thank you so much I tried this and it did work!!

Thank you,

Prachi Rathod

Get Outlook for iOShttps://aka.ms/o0ukef


From: Ankit Mishra notifications@github.com Sent: Tuesday, May 12, 2020 11:37:13 PM To: insidesherpa/JPMC-tech-task-1 JPMC-tech-task-1@noreply.github.com Cc: Rathod, Prachi Basant (rathodpt) rathodpt@mail.uc.edu; Author author@noreply.github.com Subject: Re: [insidesherpa/JPMC-tech-task-1] Issue (#138)

If you are using python3.x version, izip is not supported. New version of python provide default zip() function.

Just comment the from itertools import izip and change function name izip() to zip(), it will work.

Hope this will resolve your problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/insidesherpa/JPMC-tech-task-1/issues/138#issuecomment-627725052, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APR4GVYXBE3BSHF6RCU6DVTRRIIWTANCNFSM4M7HC6TA.