AttributeError: 'module' object has no attribute 'mkdirs'
After googling a bit, found that, its a Python version issue.
I changed code from os.mkdirs() to os.makedirs() and it worked.
Details: os module documentation
Credits: buttscicles - Reddit
There is no os.mkdirs
. Perhaps you meant os.mkdir
or os.makedirs
instead?