It shouldn't be hard to preserve your old data. Just be sure to make a backup first. Here's what to back up <http://www.weewx.com/docs/usersguide.htm#backup>.
An older Raspberry Pi, even one 7 years old, should have no problem running buster. I've got it running on a six year old RPi 2, and it works just fine. On Tue, Jul 6, 2021 at 3:29 PM J.L. Blom <[email protected]> wrote: > Tom, > Thanks, I just came into my study and found your reply. I think you're > right, maybe use a new RPi as this one is already 7 years old but I give > it a try with a new Raspbian. Hope I can find tomorrow the time a it > takes a lot of restoring old date as I have now weather data for over 10 > years and I will not destroy the time-series. > Joep > > > On 06-07-2021 16:09, Tom Keffer wrote: > > Honestly, I think you'll save yourself a lot of time by just upgrading > > your RPi to Raspbian 10 ("buster"). Security updates for Debian 9 > > ("stretch") were discontinued over a year ago. > > > > Search the web for instructions. Here's an example: > > https://www.raspberrypi.org/documentation/raspbian/updating.md > > <https://www.raspberrypi.org/documentation/raspbian/updating.md> > > > > -tk > > > > On Tue, Jul 6, 2021 at 5:50 AM J.L. Blom <[email protected] > > <mailto:[email protected]>> wrote: > > > > On 06-07-2021 13:52, Tom Keffer wrote: > > > It looks like you're using an older version of pip, designed for > > > Python 2. Make sure you have a more modern copy. > > > > > > Check the documentation for pip: > > > https://pip.pypa.io/en/stable/installing/ > > <https://pip.pypa.io/en/stable/installing/> > > > <https://pip.pypa.io/en/stable/installing/ > > <https://pip.pypa.io/en/stable/installing/>> > > > > > > On Tue, Jul 6, 2021 at 3:27 AM J.L. Blom <[email protected] > > <mailto:[email protected]> > > > <mailto:[email protected] <mailto:[email protected]>>> > wrote: > > > > > > On 05-07-2021 17:29, Tom Keffer wrote: > > > > You didn't say what operating system you are using, but a > > Python 3 > > > > version of Cheetah is not available on Debian 9 systems. What > > > > operating system are you using? Here are a few options: > > > > > > > > 1. Upgrade to Debian 10; > > > > 2. Or, use Python 2; > > > > 3. Or, install using pip: > > > > > > > > pip3 install cheetah3 > > > > > > > > The last is probably the best solution. > > > > > > > > -tk > > > > > > > > On Mon, Jul 5, 2021 at 6:35 AM J.L. Blom > > <[email protected] <mailto:[email protected]> > > > <mailto:[email protected] <mailto:[email protected]>> > > > > <mailto:[email protected] <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>>> wrote: > > > > > > > > I have been a long time away as I had A: other > > > interests/problems to > > > > solve and B weewx works still without problems. > > However I'm > > > still > > > > working with version 4.1.1 and I think it's becoming > > time to > > > > upgrade to > > > > 1.5. However there is a problem.When I try to upgrade > > using > > > apt I get > > > > the following message: > > > > The following packages have unmet dependencies: > > > > weewx : Depends: python3-cheetah but it is not > > installable. > > > > I've tried to reinstall it (using synaptic) but no > > success. Can > > > > anybody > > > > shine light on this problem and how to solve it? > > > > Thanks in advance, > > > > Joep L. Blom > > > > > > > > -- > > > > > > > > > > ---------------------------------------- > > > Command "python setup.py egg_info" failed with error code 1 in > > > /tmp/pip-build-hod7_7mb/cheetah/ > > > Is there a solution for this? > > > > > > -- > > > Y > > > > > > > > > Thanks Tom. I went to the site and I followed the upgrade > > instructions > > but I assume however that the raspberry OS is unwilling to follow the > > rules and gave me the following: > > Installing collected packages: pip > > Found existing installation: pip 9.0.1 > > Not uninstalling pip at /usr/lib/python2.7/dist-packages, > > outside > > environment /usr > > Can't rollback pip, nothing uninstalled. > > Exception: > > Traceback (most recent call last): > > File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", > > line 215, > > in main > > status = self.run(options, args) > > File > > "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line > > 360, in run > > prefix=options.prefix_path, > > File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", > > line 784, > > in install > > **kwargs > > File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", > > line > > 851, in install > > self.move_wheel_files(self.source_dir, root=root, prefix=prefix) > > File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", > > line > > 1064, in move_wheel_files > > isolated=self.isolated, > > File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 462, in > > move_wheel_files > > generated.extend(maker.make(spec)) > > File > > > > "/usr/share/python-wheels/distlib-0.2.4-py2.py3-none-any.whl/distlib/scripts.py", > > > > line 372, in make > > self._make_script(entry, filenames, options=options) > > File > > > > "/usr/share/python-wheels/distlib-0.2.4-py2.py3-none-any.whl/distlib/scripts.py", > > > > line 276, in _make_script > > self._write_script(scriptnames, shebang, script, filenames, ext) > > File > > > > "/usr/share/python-wheels/distlib-0.2.4-py2.py3-none-any.whl/distlib/scripts.py", > > > > line 250, in _write_script > > self._fileop.write_binary_file(outname, script_bytes) > > File > > > > "/usr/share/python-wheels/distlib-0.2.4-py2.py3-none-any.whl/distlib/util.py", > > > > line 407, in write_binary_file > > with open(path, 'wb') as f: > > IOError: [Errno 21] Is a directory: '/home/weewx/bin/pip' > > To be honest. my programming days are long behind me (as you can > > imagine) and interpreting error messages is a little difficult but > > maybe > > you can she your light on it. > > Joep > > > > -- > > 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:weewx-user%[email protected]>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/weewx-user/8212be79-d0e8-9f06-825d-e0bca8ee047a%40gmail.com > > < > https://groups.google.com/d/msgid/weewx-user/8212be79-d0e8-9f06-825d-e0bca8ee047a%40gmail.com > >. > > > > -- > > 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/CAPq0zEAyF5aCHU_zMfNLogueosASq_PkK7jFJLuRGGMr2_u5tQ%40mail.gmail.com > > < > https://groups.google.com/d/msgid/weewx-user/CAPq0zEAyF5aCHU_zMfNLogueosASq_PkK7jFJLuRGGMr2_u5tQ%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/b10978d6-8d46-a5e8-1bdc-de03e9994050%40gmail.com > . > -- 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/CAPq0zEDZyZn9ruanz7tOWxY21JX%3DXFUUi_ZC--1mhY%3DXA-S4rw%40mail.gmail.com.
