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/ On Tue, Jul 6, 2021 at 3:27 AM J.L. Blom <[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]>> 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 > > > > -- > > 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/dbf26dda-a8a2-625c-81d7-5252820a2562%40gmail.com > > < > https://groups.google.com/d/msgid/weewx-user/dbf26dda-a8a2-625c-81d7-5252820a2562%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/CAPq0zEBvD7pZ8ab18TUiqwPTVZUg%2BxpJ%2BODEqNt_GMxGQt7BEg%40mail.gmail.com > > < > https://groups.google.com/d/msgid/weewx-user/CAPq0zEBvD7pZ8ab18TUiqwPTVZUg%2BxpJ%2BODEqNt_GMxGQt7BEg%40mail.gmail.com?utm_medium=email&utm_source=footer > >. > I followed your suggestion. However, it came with the following: > except DistutilsPlatformError, x: > ^ > SyntaxError: invalid syntax > > ---------------------------------------- > Command "python setup.py egg_info" failed with error code 1 in > /tmp/pip-build-hod7_7mb/cheetah/ > Is there a solution for this? > > -- > 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/82b51692-8308-37d0-dc47-517d64a5fc8c%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/CAPq0zEDwUaAZ32S7jEhSuJnz37aX1Yn9zp-VAe9%2BtkLg1P-5sA%40mail.gmail.com.
