Home › Forums › Software Development › AttributeError: 'module' object has no attribute 'find_all_eyetrackers' › Reply To: AttributeError: 'module' object has no attribute 'find_all_eyetrackers'
This error happens because there is no attribute with the name you called, for that Object. This means that you got the error when the “module” does not contain the method you are calling. But it is evident that the method is there, which leads to believe that may be the method was added by you in the python source code after you had already imported the file (module). Or, some times packages get deprecated and they rename some functions. If that is true, then you may want to exit and reimport the module once again to be able to access the new method.
You can do it in another way to reimport the module with changes without having to exit the interpreter is to do the following:
import importlib
importlib.reload(myModule)