On Sunday, January 5, 2020 at 1:44:09 PM UTC-8, vince wrote: > > On Sunday, January 5, 2020 at 1:22:19 PM UTC-8, KnC Mc wrote: >> >> What version should I be running? yum indicates that I am running the >> recent version. Have to go to work, but I will keep looking in my spare >> time. >> >> > I got the beta running in Simulator mode under python3 on centos7 after a > bit of fiddling. Let me let it run for a couple hours and I'll check it > at halftime of the football game and post details if it stays up ok. > >
Just to document it, for centos7 running b6 in Simulator mode under python3, you want to: - install python3 with yum - install all the required python modules with pip3 - also be careful to not let selinux break you, which it will do if you do things like symlinking /home/weewx/public_html to under your webserver document root. You can either fix selinux by relabeling things, or disabling selinux, depending on your preferences. nginx is not available for centos7 unless you do: - rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm - yum install nginx - systemctl enable nginx - systemctl start nginx My Simulator VM has the following modules installed (some were autoselected): - Cheetah3 (3.2.4) - configobj (5.0.6) - Pillow (7.0.0) - pip (9.0.3) - pyephem (3.7.7.0) - pyserial (3.4) - pyusb (1.0.2) - setuptools (39.2.0) - six (1.13.0) The system has the following python3 rpms installed, again many were autoinstalled when I installed python3: - python3.x86_64 3.6.8-10.el7 @base - python3-libs.x86_64 3.6.8-10.el7 @base - python3-pip.noarch 9.0.3-5.el7 @base - python3-setuptools.noarch 39.2.0-10.el7 @base - python3.i686 3.6.8-10.el7 base - python3-debug.i686 3.6.8-10.el7 base - python3-debug.x86_64 3.6.8-10.el7 base - python3-devel.i686 3.6.8-10.el7 base - python3-devel.x86_64 3.6.8-10.el7 base - python3-idle.i686 3.6.8-10.el7 base - python3-idle.x86_64 3.6.8-10.el7 base - python3-libs.i686 3.6.8-10.el7 base - python3-rpm-generators.noarch 6-2.el7 base - python3-rpm-macros.noarch 3-32.el7 base - python3-test.i686 3.6.8-10.el7 base - python3-test.x86_64 3.6.8-10.el7 base - python3-tkinter.i686 3.6.8-10.el7 base - python3-tkinter.x86_64 3.6.8-10.el7 base - python3-wheel.noarch 0.31.1-4.el7 base Bottom line, there's nothing special needed to install v4 using python3 on centos7 - just use pip3 to install the modules. -- 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/215d4f9a-703d-4071-bfcb-e022049787b7%40googlegroups.com.
