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