Good catch Greg !
I wasn't paying attention to the repo Rich was pulling from.
cheers
Tim
On 12/10/20 5:01 pm, Rich Painter wrote:
Tim, Greg,
ah
I followed the instructions at http://www.weewx.com/docs/apt-get.htm
which did NOT differentiate the python versions.
changing the repo and installing weewx now works!
Thanks!!!
rich
On Sun, Oct 11, 2020 at 11:47 PM Greg from Oz <[email protected]
<mailto:[email protected]>> wrote:
I know nothing about python either.
The directions I used for 20.04 was here:
http://weewx.com/docs/debian.htm
That's why it says:
wget -qO - http://weewx.com/apt/weewx-python3.list | sudo tee
/etc/apt/sources.list.d/weewx.list
and not
wget -qO - http://weewx.com/apt/weewx.list | sudo tee
/etc/apt/sources.list.d/weewx.list
and maybe that is why your install failed as what you were running
was for python 2?
On Monday, 12 October 2020 16:40:39 UTC+11, Rich Painter wrote:
Tim, Greg,
clean install of ubuntu mate 20.04.1 LTS Desktop, including
dev tools. ssh, no apache
this installs by default python3:
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
all updates were run prior to attempt with weewx. then followed
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
where step 4 had the reported failures.
weewx : Depends: python-configobj (>= 4.5) but it is not
installable
Depends: python-serial (>= 2.3) but it is not installable
looking at the installed python3 components, apt reports in part:
python3-configobj/focal,focal,now 5.0.6-4 all
[installed,automatic]
BUT NO python3-serial !!
So, why is the installer complaining about python-configobj
when ver 5.0.6-4 clearly is >= 4.5
And why is python3-serial missing from the standard python
(and apparently not installable) if it is required by weewx?
I'm a C and unix guy and know nothing about python....
thanks
rich
On Sun, Oct 11, 2020 at 10:49 PM Tim Tuck <[email protected]>
wrote:
Hi Rich,
Which Ubuntu 20 did you install on ? server or workstation ?
I installed mine on server
1st thing....
sudo apt update
sudo apt upgrade -y
then I checked that python was OK
timt@metoffice:~$ python3
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more
information.
>>>
timt@metoffice:~$
then
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 install apache2
sudo apt-get install weewx
and it was good to go from there.
cheers
Tim
--
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/5ebc1cc9-dd42-bf46-6509-8ecdc0652d9a%40skybase.net.
--
Richard A. Painter, P.E. Retired
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/e6361451-1399-43b0-a0e0-b08a0e12727ao%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/e6361451-1399-43b0-a0e0-b08a0e12727ao%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Richard A. Painter, P.E. Retired
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CABh4ZQhs5eTo08zOnWNyovD1wr8j%3D%2BzKpg4V-nD3QnRj_SC--A%40mail.gmail.com
<https://groups.google.com/d/msgid/weewx-user/CABh4ZQhs5eTo08zOnWNyovD1wr8j%3D%2BzKpg4V-nD3QnRj_SC--A%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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/c42e9acc-fba2-17ce-d730-472baabde1d1%40skybase.net.