How to Solve NameError: name 'queue' is not defined -- autofit

Solution: Import the 'queue' module

# Add the following line to the top of your code
from autofit import queue

 

For more information:
autofit queue