How to Solve NameError: name 'get_display' is not defined -- bidi
Solution: Import the 'get_display' module
To Solve the error, add the following line to the top of your code.
from bidi.algorithm import get_display
For more information:
Python bidi get_display