Code: Select all
def my_array(databytes=(0x00, 0x00, 0x00), crc=0x00): start=0x96 address=0xbe lenbytes=0x83 stop=0xa9 data = bytearray([start, address, lenbytes, 0, 0, 0, crc, stop]) data[3:6] = databytes return data my_array(databytes=(0xba,0xf1,0xba), crc=0x33)
2.7/src/pythoninlua.o -I/usr/include/lua5.2deejay_d wrote:has anyone running lunatic python on his or her raspberry pi ?
You still have a fail. 2.7.3-6+deb7u3 is a Wheezy package, and 2.7.9-2 is Jessie.foster82 wrote:There was a mistake with one of the entries that wasn't correct. It was a copy and paste fail.
They have slightly different namesstudysession wrote:Unsure what to do.... Thanks for the reply
ImportError: No module named tkinter
For python3 I got it working fine.
apt-get install python-tk python3-tk