Traceback (most recent call last):


 "/var/mycodo-root/mycodo/controller_lcd.py", line 268, in run

self.lcd_byte(0x01, self.LCD_CMD, self.LCD_BACKLIGHT_OFF)
AttributeError: 'LCDController' object has no attribute 'LCD_CMD'

Traceback (most recent call last):



 "<ipython-input-1-8044f5c39b77>", line 1, in <module>

runfile('C:/Users/Administrator/.spyder-py3/temp.py', wdir='C:/Users/Administrator/.spyder-py3')



 "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile

execfile(filename, namespace)



 "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile

exec(compile(f.read(), filename, 'exec'), namespace)



 "C:/Users/Administrator/.spyder-py3/temp.py", line 13, in <module>

X_train, y_train, X_val, y_val, X_test, y_test = tl.files.load_mnist_dataset(shape=(-1, 784))



 "C:\ProgramData\Anaconda3\lib\site-packages\tensorlayer\files\dataset_loaders\mnist_dataset.py", line 31, in load_mnist_dataset

return _load_mnist_dataset(shape, path, name='mnist', url='http://yann.lecun.com/exdb/mnist/')



 "C:\ProgramData\Anaconda3\lib\site-packages\tensorlayer\files\utils.py", line 178, in _load_mnist_dataset

X_train = load_mnist_images(path, 'train-images-idx3-ubyte.gz')



 "C:\ProgramData\Anaconda3\lib\site-packages\tensorlayer\files\utils.py", line 159, in load_mnist_images

data = np.frombuffer(f.read(), np.uint8, offset=16)



 "C:\ProgramData\Anaconda3\lib\gzip.py", line 276, in read

return self._buffer.read(size)



 "C:\ProgramData\Anaconda3\lib\gzip.py", line 482, in read

raise EOFError("Compressed file ended before the "

EOFError: Compressed file ended before the end-of-stream marker was reached