You can install python 2 on Ubuntu 20.04 if you REALLY wanted to.....but why if it is no longer supported.
$ sudo apt install python2 OR $ sudo apt install python-minimal On Thursday, 30 April 2020 11:42:19 UTC+10, Redig wrote: > > I decided to set up a new server the other day and installed the latest > Ubuntu LTS to get started. After installing some of my packages, I decided > to try out weewx to integrate with my new ecowitt system. > > sudo apt--get install weewx > > returns > > 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. > > > > sudo apt-get install python-configobj > > returns > > 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 > > > I've tried apt-get update, upgrade, dist-upgrade, autoclean, autoremove > and rebooted. > I've tried pip, but it seems to only have configobj, not python-configobj > and does not change the weewx warning. > > It seems that these packages are not available on Ubuntu 20.04. > > Should it be possible to run weewx 3 on Ubuntu 20.04? > -- 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/03b5995c-4567-4a12-8fba-ab0cabdc19ad%40googlegroups.com.
