AttributeError: module ‘pyrsgis.raster’ has no attribute ‘createDS’

  pyqgis, python, qgis

I use Produce Training Data For Deep Learning QGIS plugin to produce a .tiff file for training the model.

When I run the Plugin this Error has occurred:

Python error: An error has occurred while executing Python code: See message log (Python Error) for more details.

As shown in Python warning Error:

AttributeError: module ‘pyrsgis.raster’ has no attribute ‘createDS’.

The question is: Should I reinstall the library GDAL from scratch or would it be possible to fix this issue by creating the attribute in the .py file in the folder where the plugin is!

Any suggestions?

Source: Python Questions