How to Solve NameError: name 'AStarFinder' is not defined -- pathfinding

Solution: Import the 'AStarFinder' module

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

from pathfinding.finder.a_star import AStarFinder

 

For more information:
Python pathfinding AStarFinder