How to Solve NameError: name 'Bot' is not defined -- instabot

Solution: Import the 'Bot' module

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

from instabot import Bot

 

For more information:
Python instabot Bot