Open eniak11 opened 4 years ago
I decided to tinker with setting in Windows. I noticed I had 0.0.9 installed on Windows and the script was working without any problem. I pip uninstalled it. Then I installed 1.0.0. Now the same AttribueError in Windows as in Ubuntu. So it's not the OS problem. Thank you for your help.
I am setting up a script in a server to notify me the status of the controller. The following is the beginning of the program:
!/usr/bin/python3
import time import smtplib, ssl import os import sys
from raincloudy.core import RainCloudy raincloudy = RainCloudy(my_email, my_password) status = raincloudy.controller.faucet.status battery = raincloudy.controller.faucet.battery
I first did this in Windows, Python 3.8.3 and it ran without any issue. Then, I tested it in Ubuntu 20.04 LTS on a Raspberry Pi, Python 3.8.2 but got the error: