one reason imread might return None is if you have special characters in your path. I had the same error and solved it by changing my path name from .../Maße/... to .../Version/... apparently the current version of opencv does not accept ß in the pathname