Matthew/Tom/Vince:
Thank you all for you help.
- Paul VE1DX
https://www.ve1dx.net
On Thursday, June 4, 2020 at 5:07:11 PM UTC-3, mwall wrote:
>
> On Thursday, June 4, 2020 at 3:28:04 PM UTC-4, WindnFog wrote:
>>
>> That worked, Neville:
>>
>> python --version
>> Python 3.7.3
>>
>> However,
On Friday, June 5, 2020 at 2:13:18 PM UTC-7, WindnFog wrote:
>
> Progress! One issue left:
>
> python3[8081]: weewx[8081] INFO user.sftp: sftpgenerator: upload not
> possible: No module named 'pysftp'
>
> Any thoughts on how to fix this?
>
>>
>>>
Try googling the error you got - like everything
Progress! One issue left:
python3[8081]: weewx[8081] INFO user.sftp: sftpgenerator: upload not
possible: No module named 'pysftp'
Any thoughts on how to fix this?
Paul VE1DX
https://www.ve1dx.net
On Friday, June 5, 2020 at 4:46:07 PM UTC-3, Tom Keffer wrote:
>
> Your version of wcloud has
On Friday, June 5, 2020 at 12:40:53 PM UTC-7, WindnFog wrote:
>
> except KeyError, e:
>^
> SyntaxError: invalid syntax
>
>
>
This is becoming our most frequently asked question.
Anytime you see this, it says you are running old python2 code vs. the
python3 interpreter.
Your version of wcloud has not been ported to Python 3. The current version
has. Just upgrade it.
On Fri, Jun 5, 2020 at 12:40 PM WindnFog wrote:
> Thanks for the pointers, etc. Matthew. I did what you suggested with the
> dependencies, etc., and all went well (as in no errors upgrading
>
Thanks for the pointers, etc. Matthew. I did what you suggested with the
dependencies, etc., and all went well (as in no errors upgrading
reported.) Also, as you said, I changed /etc/weewx/default from:
WEEWX_PYTHON=python2
WEEWX_BINDIR=/usr/share/weewx
WEEWX_BIN=/usr/bin/weewxd
On Thursday, June 4, 2020 at 3:28:04 PM UTC-4, WindnFog wrote:
>
> That worked, Neville:
>
> python --version
> Python 3.7.3
>
> However, weewx still grabs python 2.7 . . . perhaps it's a bit too early
> (new Raspberry Pi O/S and a new weewx version 4.1.1 for someone at my level
> of expertise
Depends on how weewxd is executed. If you (or the daemon init script) run
the simple command
*weewxd /etc/weewx/weewx.conf*
then the "shebang" is put into use. What is a shebang? If the first line of
a file starts with the characters '#!', that's a shebang. It instructs the
shell how to run the
That worked, Neville:
python --version
Python 3.7.3
However, weewx still grabs python 2.7 . . . perhaps it's a bit too early
(new Raspberry Pi O/S and a new weewx version 4.1.1 for someone at my level
of expertise to monkey around with this yet. It's working, and while I
have a "just made"
Read this
https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux
if you use the alternative option it is system-wide. This is the procedure
I followed. But is it needed..I did it just to be current it only
caused minor problems for me but no issues
I posted the issue I ran into converting to Python 3 a few days back, but never
received any replies. It may work, but you may also run into issues if you have
any add-ons with Python 2.x specific code.
Dan Rich
http://www.employees.org/~drich/
"Step up to red alert!" "Are you sure, sir?
It
Thanks, Neville. It's using Python 2.7.16. How do I switch the default to
Python 3, and of I do, is that likely to cause any problems? My guess is
no, but "if it ain't broke, don't fix it" might apply here.
- Paul VE1DX
https://www.ve1dx.net
When I recently built up a new Pi3 system I defaulted to python3 so that
any call to just python uses python3. This removed any confusion :). The
issue I had with this was that some python testing scripts I used for my
home brew weather station had a number of syntax (primarily printing)
Simple, look at the log
The first few lines after a WeeWX startup tell you exactly what python version
is being used by WeeWX, eg:
Jun 3 11:15:55 weewx weewx[2712] INFO __main__: Initializing weewx version
4.1.1
Jun 3 11:15:55 weewx weewx[2712] INFO __main__: Using Python 3.8.2
Hi Vince,
To clarify, I am the original poster. After the first post, I did some
digging with Google. I found the github discussion by Matthew Wall et al.
about the permutations and combinations of various Linux distros combined
with either Python 2.7 and Python 3. I did do the upgrade of
On Wednesday, June 3, 2020 at 7:21:30 AM UTC-7, WindnFog wrote:
> Seems to be a bit risky and not for the faint of heart. What say, gurus? I
> can leave it at python 2.7.16 for now, although at some point that's going
> away . . .
>
>
>
Not risky in the least, but also no 'technical' reason
Well, an Internet search suggests this is not just flipping a pointer or
symlink!
https://github.com/weewx/weewx/wiki/weewx4-compatibility-matrix
Seeing as my system is up to date from an O/S and weewx standpoint, and I
have written no extensions or drivers, etc., would the following work?
17 matches
Mail list logo