I have a script I run but I use mysql as my database....it also installs other stuff I use as well but that shouldn't affect you.
apt install -y python3-mysqldb apt install -y python3-usb apt install -y python3-paho-mqtt apt install -y python3-dateutil apt install -y python3-ephem apt install -y python3-configobj apt install -y python3-cheetah apt install -y python3-pil apt install -y python3-serial apt install -y python3-pip apt install -y python3-tz apt install -y 2to3 apt install -y python3-toolz apt install -y python3-urllib3 #The line below is for the decode-config.py program for backing up tasmota devices python3 -m pip install requests configargparse echo Install weewx wget -qO - http://weewx.com/keys.html | sudo apt-key add - wget -qO - http://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list sudo apt-get update sudo apt-get install -y weewx On Monday, 12 October 2020 at 13:48:21 UTC+11 [email protected] wrote: > I followed the instructions on http://weewx.com/docs/apt-get.htm > as root... > > 1. wget -qO - http://weewx.com/keys.html | sudo apt-key add - > 2. wget -qO - http://weewx.com/apt/weewx.list | sudo tee > /etc/apt/sources.list.d/weewx.list > 3. apt-get update > 4. apt-get install weewx > > And this is the output of step 4: > Reading package lists... Done > Building dependency tree > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > The following packages have unmet dependencies: > weewx : Depends: python-configobj (>= 4.5) but it is not installable > Depends: python-serial (>= 2.3) but it is not installable > E: Unable to correct problems, you have held broken packages. > > so I tried: > apt install python-configobj > Reading package lists... Done > Building dependency tree > Reading state information... Done > Package python-configobj is not available, but is referred to by another > package. > This may mean that the package is missing, has been obsoleted, or > is only available from another source > E: Package 'python-configobj' has no installation candidate > > Then this shows python3 is installed on Ubuntu 20: > # python3 --version > Python 3.8.5 > > Any ideas on what to do to install weewx on Ubuntu 20? > > thanks > rich > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/01a9ee9f-5a8d-46a3-a44f-14d8b299cbd1n%40googlegroups.com.
