How to Solve NameError: name 'KS_ARCH_ARM' is not defined -- keystone

Solution: Import the 'KS_ARCH_ARM' module

To Solve the error, add the following line to the top of your code.

from keystone import KS_ARCH_ARM

 

For more information:
Python keystone KS_ARCH_ARM