Cannot find folder of sumo binary

This is a post of an error with the solution already provided to help people who are facing the same problem.

Error message: FileNotFoundError: [Errno 2] No such file or directory: ‘/home/user/sumo/bin/sumo’: ‘/home/user/sumo/bin/sumo’

Solution: Go to the sumo-interface folder and look for pathConfig.py. If this file does not exist, make a copy of pathConfig_DEFAULT.py and rename it to pathConfig.py. Look for the line ‘SUMO_BINARY’ and change the path to wherever your sumo binary is.