Learn Python & Ethical Hacking from Scratch MAC Changer Error

I am on the “implementing a very basic MAC changer” video and when I try to run the mac_changer.py file I get the following error:

wlan0: ERROR while getting interface flags: No such device
SIOCSIFHWADDR: No such device
wlan0: ERROR while getting interface flags: No such device

I’m not really sure what to do at this point because he assumes there are no errors and continues on, and I don’t have any Kali Linux experience to know how to fix this.

Did you change the interface to the interface you have on your Kali machine. Basically is wlan0 present in your Kali or do you have any other interface. You can check interface using ip a. Also share screenshot of what you are running, your code and what error you are getting in the terminal

You need to have basic networking and Linux knowledge while doing these security courses to really understand what is going on