On Fri, Mar 27, 2015 at 10:53 AM, Tom SP2L SP2L@wp.pl wrote:
File "/opt/python-amprapi/amprapi.py", line 87, in get return json.loads(r.json()) TypeError: 'unicode' object is not callable
The version of python-requests in Wheezy is too old and incompatible. (I'm sure you have this problem often running Debian stable.)
You can get a more up-to-date version using Python's package manager, pip, instead of the OS package manager. Something like this...
sudo apt-get remove python-requests sudo pip install requests
If you don't want pip to install it system-wide, you can use virtualenv. I'll let you Google that on your own, as it's a special case.
Tom KD7LXL