How to Solve NameError: name 'builders' is not defined -- pyocr

Solution: Import the 'builders' module

# Add the following line to the top of your code
from pyocr import builders

 

For more information:
pyocr builders