Traceback (most recent call last):


 "/home/swaghmare/.virtualenvs/keras2/lib/python3.6/site-packages/tensorpack/input_source/input_source.py", line 132, in run

dp = next(self._itr)


 "/home/swaghmare/.virtualenvs/keras2/lib/python3.6/site-packages/tensorpack/dataflow/common.py", line 329, in get_data

for dp in self.ds.get_data():


 "/home/swaghmare/.virtualenvs/keras2/lib/python3.6/site-packages/tensorpack/dataflow/common.py", line 511, in get_data

dp.extend(next(itr))


 "/home/swaghmare/.virtualenvs/keras2/lib/python3.6/site-packages/tensorpack/dataflow/common.py", line 265, in get_data

for dp in self.ds.get_data():


 "/home/swaghmare/.virtualenvs/keras2/lib/python3.6/site-packages/tensorpack/dataflow/common.py", line 265, in get_data

for dp in self.ds.get_data():


 "/home/swaghmare/.virtualenvs/keras2/lib/python3.6/site-packages/tensorpack/dataflow/common.py", line 107, in get_data

for data in self.ds.get_data():


 "/home/swaghmare/.virtualenvs/keras2/lib/python3.6/site-packages/tensorpack/dataflow/parallel.py", line 284, in get_data

with self._guard, _zmq_catch_error('PrefetchDataZMQ'):


 "/home/swaghmare/.virtualenvs/keras2/lib/python3.6/site-packages/tensorpack/dataflow/base.py", line 36, in __enter__

raise threading.ThreadError("This DataFlow is not reentrant!")
RuntimeError: This DataFlow is not reentrant!

Traceback (most recent call last):

 "mail.py", line 3, in <module>
import sys, getpass, urllib.request, urllib.errorImportError: No module named request