Re: [weewx-user] Problems installing weewx-purple extension

2020-08-27 Thread Tom Keffer
Well, if running */usr/bin/python3 -V* gives you Python 3.5, while *python -V* gives you Python 3.7, the problem must be either a path issue, or a symbolic link issue. 1. Make sure it isn't a path issue. What does *which python* give you? Should be /usr/bin/python. 2. Assuming that's the

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-26 Thread weather list
On 26 Aug, 2020, at 22:05, Tom Keffer wrote: > > You're making it tough to debug because you're giving so little information > and giving us very short log excerpts. Will remedy that; meanwhile, answers below. > 1. What install method did you use? It looks like the setup.py method, but > let'

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-26 Thread Tom Keffer
You're making it tough to debug because you're giving so little information and giving us very short log excerpts. 1. What install method did you use? It looks like the setup.py method, but let's be sure. 2. Are you running weewxd from the command line? Or, as a daemon? 3. What is the first line

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-26 Thread weather list
Sorry to be back late to my thread. It’s Raspian Desktop (recent) and fully updated. When I start WeeWx manually, this is the log at startup: > pi@NUC62:/home/weewx $ sudo tail -f /var/log/syslog | grep weewx > Aug 26 21:19:48 NUC62 weewx[21100] INFO __main__: Initializing weewx version > 4.1.1

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-26 Thread Tom Keffer
Ah! Thanks for the clarification! You're giving up some potential users by targeting Python 3.7. In particular, all the Debian 9 users. -tk On Tue, Aug 25, 2020 at 8:08 PM John Kline wrote: > That would be me. > > It’s the weewx-purple extension, not weewx-purpleair. It stores the pmX.X > val

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-25 Thread John Kline
That would be me. It’s the weewx-purple extension, not weewx-purpleair. It stores the pmX.X values in the 4.x extended database (i.e., doesn’t store to a separate database) and uses xtypes for PM2.5 AQI. Besides listing in bold in the README that it needs WeeWX 4.x, Py3.7 and the extended dat

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-25 Thread Tom Keffer
I'm wondering who is issuing the "requires Python 3.7 or later" error. It's not wee_extension, nor anything else in WeeWX. Nor do I see any text like that in the PA extension. I'm wondering if it is the zip library that is doing it...? Wild chance, but try unzipping the archive using the zip util

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-25 Thread John Kline
Well, we know the error message is not erroneous. I assume it’s Debian (since it’ a NUC), and not Raspbian. Is it buster? /usr/bin/python3 is probably a symlink to /usr/bin/python3.5. You could change it to 3.7, but this *might* have consequences for other software. You could also change the

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-25 Thread weatherl...@gmail.com
/usr/bin/python3 -V python 3.5 3 I am officially confused in that case. :-)) On Tuesday, August 25, 2020 at 3:22:51 PM UTC-4 jo...@johnkline.com wrote: > In particular, if the first line is: > #!/usr/bin/python3 > > send me the result of: > /usr/bin/python3 -V > > On Aug 25, 2020, at 12:13 PM,

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-25 Thread John Kline
In particular, if the first line is: #!/usr/bin/python3 send me the result of: /usr/bin/python3 -V > On Aug 25, 2020, at 12:13 PM, weatherl...@gmail.com > wrote: > > Weewx-purple requires weewx 4.1.1 (which is installed) and Paython > 3.7 > > pi@NUC62:/home/weewx $ python -V > Python 3.7.9

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-25 Thread John Kline
I see, it’s during the install. What’s the first line of your wee_extension file? > On Aug 25, 2020, at 12:13 PM, weatherl...@gmail.com > wrote: > > Weewx-purple requires weewx 4.1.1 (which is installed) and Paython > 3.7 > > pi@NUC62:/home/weewx $ python -V > Python 3.7.9 > > Running th

Re: [weewx-user] Problems installing weewx-purple extension

2020-08-25 Thread John Kline
My guess is that you are running WeeWX with Python version 3.5. Please send these logs from the log when you start WeeWX: Aug 25 12:04:08 judygirldog weewx[21800] INFO __main__: Initializing weewx version 4.1.1 Au

[weewx-user] Problems installing weewx-purple extension

2020-08-25 Thread weatherl...@gmail.com
Weewx-purple requires weewx 4.1.1 (which is installed) and Paython > 3.7 pi@NUC62:/home/weewx $ python -V Python 3.7.9 Running the installer gets me this: sudo bin/wee_extension --install /home/pi/Downloads/weewx-purple-master.zip Request to install '/home/pi/Downloads/weewx-purple-master.zip'