reload is python 2 afaik in python 3.4 and newer you are supposed to use: import importlib importlib.reload(module) good luck!