How to Solve NameError: name 'Scheme' is not defined -- wifi

Solution: Import the 'Scheme' module

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

from wifi import Scheme

 

For more information:
Python wifi Scheme