Closed sebastianludwig closed 10 years ago
What version of Python are you using exactly?
Can you try with Python 3.3 or 3.4? The Pulse.__doc__ = """ [...]
works on Python 3.3/3.4, so I suspect you are using earlier version.
yep, my Raspian installation came with Python 3.2.3, and it looks like 3.3 is not in the repositories yet.
I think the docstring assignment is the only thing preventing you from running it on Python 3.2. You can try to remove the offending lines and see if it works for you. Not ideal, but might be better than upgrading Python.
Also data = unhexlify(s)
in tcl5947.py:82 throws a TypeError: 'str' does not support the buffer interface
- Python 3.4.1 is compiling...
Thanks for the info. I will add requirements section to the README file.
Runs without errors with Python 3.4.1. A version working with the default Raspberry Pi Python version would make things easier, I guess.
I understand, but Python 3.3 was released almost 2 years ago and I simply do not have time to maintain software for older versions of Python, which means maintaining quite old version of your operating system as well.
After running
sudo python3 setup.py install
on my RPi, I get the error message mentioned above. Its origin is parser.py:24 and followingPulse.__doc__ = """ [...]
.I'm still not that familiar with python, if you could give me a pointer, I'll fix it and send a pull request. (If that's not already more work than fixing it yourself..)