thingspeak
thingspeak copied to clipboard
AttributeError: 'module' object has no attribute 'avail_phymem'
getting this when I run on my raspberry pi
AttributeError: 'module' object has no attribute 'avail_phymem'
any ideas?
I haven't figured out when avail_phymem was removed from psutil, but it seems to have been a while ago. I think psutil.virtual_memory().available is the replacement; at least, close enough for that example.
I haven't used thingspeak in a year or two. I haven't tested that the psutil change is the only one required to get the example working.