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.

Reply via email to