How to Solve NameError: name 'photutils' is not defined
Solution: Import the 'photutils' module
# Add the following line to the top of your code
import photutils
For more information:
Python photutils
# Add the following line to the top of your code
import photutils
For more information:
Python photutils