As noted in the install page for Debian <http://www.weewx.com/docs/debian.htm>, for stretch (Debian 9), you need to use Python 2. So, you want
*wget -qO - http://weewx.com/apt/weewx- <http://weewx.com/apt/weewx->python2.list | sudo tee /etc/apt/sources.list.d/weewx.list* *sudo apt-get update* *sudo apt-get install weewx* The reason is that not all packages are available for Python 3 on stretch. -tk On Tue, Aug 11, 2020 at 10:07 PM Geni 0815 <geni0815.0...@gmail.com> wrote: > pi@raspberrypi:~ $ PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" > > pi@raspberrypi:~ $ NAME="Raspbian GNU/Linux" > > pi@raspberrypi:~ $ VERSION_ID="9" > > pi@raspberrypi:~ $ VERSION="9 (stretch)" > > pi@raspberrypi:~ $ VERSION_CODENAME=stretch > > pi@raspberrypi:~ $ ID=raspbian > > pi@raspberrypi:~ $ ID_LIKE=debian > > pi@raspberrypi:~ $ HOME_URL="http://www.raspbian.org/" > > pi@raspberrypi:~ $ SUPPORT_URL="http://www.raspbian.org/RaspbianForums" > > pi@raspberrypi:~ $ BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" > > > Am Dienstag, 11. August 2020 16:45:24 UTC+2 schrieb Tom Keffer: >> >> What version of Rasbian are you running? >> >> *cat /etc/os-release* >> >> -tk >> >> On Tue, Aug 11, 2020 at 7:25 AM geni08...@gmail.com <geni08...@gmail.com> >> wrote: >> >>> pi@raspberrypi:~ $ sudo apt install weewx >>> Paketlisten werden gelesen... Fertig >>> Abhängigkeitsbaum wird aufgebaut. >>> Statusinformationen werden eingelesen.... Fertig >>> Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass >>> Sie eine unmögliche Situation angefordert haben oder, wenn Sie die >>> Unstable-Distribution verwenden, dass einige erforderliche Pakete noch >>> nicht erstellt wurden oder Incoming noch nicht verlassen haben. >>> Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu >>> lösen: >>> >>> Die folgenden Pakete haben unerfüllte Abhängigkeiten: >>> weewx : Hängt ab von: python3-cheetah ist aber nicht installierbar >>> E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene >>> defekte Pakete. >>> pi@raspberrypi:~ $ >>> >>> tke...@gmail.com schrieb am Dienstag, 11. August 2020 um 14:30:02 UTC+2: >>> >>>> I'm sorry: I just realized that your post is unrelated to the original >>>> post. We need some context to understand what you are trying to do. The >>>> screenshot you sent does not match your description of what you did. Are >>>> you truly upgrading? If so, from what version? >>>> >>>> What happens when you do a simple install: >>>> >>>> >>>> *wget -qO - http://weewx.com/apt/weewx-python3.list >>>> <http://weewx.com/apt/weewx-python3.list> | sudo tee >>>> /etc/apt/sources.list.d/weewx.list* >>>> *sudo apt update* >>>> *sudo apt install weewx* >>>> >>>> -tk >>>> >>>> On Mon, Aug 10, 2020 at 10:44 PM geni08...@gmail.com < >>>> geni08...@gmail.com> wrote: >>>> >>>>> I did this: >>>>> 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 upgrade >>>>> sudo apt install python3-mysqldb >>>>> sudo apt install python3-ephem >>>>> sudo apt-get update >>>>> sudo apt-get upgrade >>>>> >>>>> >>>>> tke...@gmail.com schrieb am Dienstag, 11. August 2020 um 02:56:50 >>>>> UTC+2: >>>>> >>>>>> (Please do not send a screen shot. They are hard to read, include >>>>>> only a few lines, and cannot be translated. Cut and paste instead.) >>>>>> >>>>>> Did you do >>>>>> >>>>>> *sudo apt-get update* >>>>>> >>>>>> first? >>>>>> >>>>>> On Mon, Aug 10, 2020 at 10:02 AM geni08...@gmail.com < >>>>>> geni08...@gmail.com> wrote: >>>>>> >>>>>>> Update gets stuck with errors from missing packages >>>>>>> [image: weewx1.jpg] >>>>>>> >>>>>>> Jlou 43 schrieb am Dienstag, 4. August 2020 um 23:13:53 UTC+2: >>>>>>> >>>>>>>> Thanks for your reply, but I solved my problem by reinstalling >>>>>>>> this way: >>>>>>>> >>>>>>>> >>>>>>>> 3. Install WeeWX >>>>>>>> >>>>>>>> After installing the prerequisites, you can install WeeWX itself. >>>>>>>> >>>>>>>> 1. >>>>>>>> >>>>>>>> Expand the source archive: >>>>>>>> >>>>>>>> tar xvfz weewx-X.Y.Z.tar.gz >>>>>>>> >>>>>>>> 2. >>>>>>>> >>>>>>>> Change directory into the expanded archive: >>>>>>>> >>>>>>>> cd weewx-X.Y.Z >>>>>>>> >>>>>>>> 3. >>>>>>>> >>>>>>>> To specify an install location different from the default >>>>>>>> /home/weewx, modify the parameter home in the setup.cfg file. >>>>>>>> Mac users will want to change it to /Users/Shared/weewx. >>>>>>>> 4. >>>>>>>> >>>>>>>> Then build and install. Python 2 users: substitute python2 for >>>>>>>> python3. >>>>>>>> >>>>>>>> python3 ./setup.py build >>>>>>>> sudo python3 ./setup.py install >>>>>>>> >>>>>>>> >>>>>>>> I replace python3 by python2 and now everything works perfectly, but >>>>>>>> if i have to switch to python3 your advice will be helpful. >>>>>>>> Thank you. >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>> 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 weewx-user+...@googlegroups.com. >>>>>>> >>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/weewx-user/2f8b8c32-509d-4cac-9ce7-36e3354418den%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/weewx-user/2f8b8c32-509d-4cac-9ce7-36e3354418den%40googlegroups.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 weewx-user+...@googlegroups.com. >>>>> >>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/58117a25-289e-41f0-922c-1e1b7320f51dn%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/58117a25-289e-41f0-922c-1e1b7320f51dn%40googlegroups.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 weewx...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/8083aade-6ec3-4e8a-bf4a-6c5b6bf4c2c1n%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/8083aade-6ec3-4e8a-bf4a-6c5b6bf4c2c1n%40googlegroups.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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/52d48245-234a-4b8d-9b8f-e536d1ebcc77o%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/52d48245-234a-4b8d-9b8f-e536d1ebcc77o%40googlegroups.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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEBRT_VCjPk65Sppxt5RpXGAb6NeaQ-wox-WLz_rZP1wZw%40mail.gmail.com.