What steps will reproduce the problem?
1. python setup.py install
2.On a debian system with ARM processor
3.Python version is 2.5.2, Python-serial package installed fine
What is the expected output? What do you see instead?
python setup.py install fails with the error --
ts7500:~/xbee_python/XBee-2.1.0# python setup.py install
running install
running build
running build_py
running install_lib
byte-compiling /usr/lib/python2.5/site-packages/xbee/base.py to base.pyc
File "/usr/lib/python2.5/site-packages/xbee/base.py", line 167
packet = b''
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.5/site-packages/xbee/frame.py to frame.pyc
File "/usr/lib/python2.5/site-packages/xbee/frame.py", line 18
START_BYTE = b'\x7E'
^
SyntaxError: invalid syntax
What version of the product are you using? On what operating system?
XBee-2.1.0
Please provide any additional information below.
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.5/site-packages/xbee/zigbee.py to zigbee.pyc
File "/usr/lib/python2.5/site-packages/xbee/zigbee.py", line 36
[{'name':'id', 'len':1, 'default':b'\x08'},
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.5/site-packages/xbee/tests/Fake.py to Fake.pyc
File "/usr/lib/python2.5/site-packages/xbee/tests/Fake.py", line 17
self.data = b''
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.5/site-packages/xbee/tests/test_base.py to
test_base.pyc
File "/usr/lib/python2.5/site-packages/xbee/tests/test_base.py", line 28
xbee._write(b'\x00')
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.5/site-packages/xbee/tests/test_frame.py to
test_frame.pyc
File "/usr/lib/python2.5/site-packages/xbee/tests/test_frame.py", line 23
data = b'\x00'
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.5/site-packages/xbee/tests/test_ieee.py to
test_ieee.pyc
File "/usr/lib/python2.5/site-packages/xbee/tests/test_ieee.py", line 77
expected_data = b'\x08+MY'
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.5/site-packages/xbee/tests/test_zigbee.py to
test_zigbee.pyc
File "/usr/lib/python2.5/site-packages/xbee/tests/test_zigbee.py", line 25
expected_data = b'\x01\x02\x03\x04'
^
SyntaxError: invalid syntax
running install_egg_info
Removing /usr/lib/python2.5/site-packages/XBee-2.1.0.egg-info
Writing /usr/lib/python2.5/site-packages/XBee-2.1.0.egg-info
PLease notice that install of XBee-2.1.0.egg-info package succeeded , but
install-lib fails.
Original issue reported on code.google.com by pracoo...@gmail.com on 16 Mar 2015 at 6:28
Original issue reported on code.google.com by
pracoo...@gmail.com
on 16 Mar 2015 at 6:28