Hi, Chris We're trying to keep the package installs simple and not have a lot of either/or options. Hence the decision to go with Python 2 on Redhat 7.
But, I'm more interested in the ImageDraw error. Can you tell me in what context this happened? More of the stack trace would be welcome. -tk On Tue, May 12, 2020 at 8:53 PM Chris Nelson <[email protected]> wrote: > On V3.9.2 I was having package dependency problems with graph generation > (pillow?), and thought I'd move to the new Py3 version. For reference on > 3.9.2… > > File "/usr/lib64/python2.7/site-packages/PIL/ImageDraw.py", line 82, in > __init__ > > **** TypeError: function takes exactly 1 argument (2 given) > > > > I manually zapped all files I could find from 3.9.2 (save > /etc/weewx/weewx.conf), > and am following these instructions. I'm on Centos 7.8, and did the > now-supported Python3.6.2 install (yum install -y python3), which sits > alongside the Python 2.7.5 system install. (see > https://www.liquidweb.com/kb/how-to-install-python-3-on-centos-7/) > > > > The instructions on page http://weewx.com/docs/redhat.htm could use a > touch in the context of Py3 on Centos 7.7+. > > > > For Redhat 7 with Python: > > sudo pip3 install pyserial pyusb Cheetah3 Pillow > > > For Redhat 7 with Python2 *or *Python3: > > curl -s http://weewx.com/yum/weewx-el7.repo | sudo tee > /etc/yum.repos.d/weewx.repo > > > > For whatever reason, my installation landed at /usr/share/weewx. I don't > have a weewx user. I also use a systemd weewx.service file, rather than the > rc/init.d startup. > > All is well. > > -- > 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/9513fb37-acac-4c72-814d-253f8dfdd543%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/9513fb37-acac-4c72-814d-253f8dfdd543%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEA7eESj5VDg2jZOfMCQA_fZQACkrRPOdi_9QcwDus_jtw%40mail.gmail.com.
