I'm converting a source code written in Python 2 to Python 3 and I stumbled into this:
from Queue import Queue, Empty
I changed it to:
from multiprocessing import Queue, Empty
But this gives me an exception:
ImportError: cannot import name 'Empty'
How do I fix this?