Re: [weewx-user] Python error?

2021-03-31 Thread John Kline
Buster has python2 and python3 installed out of the box. On buster, if you execute python, you will get python2. You must execute python3 to get python3. You did not need to install yet another version of python3 and I would not recommend it (although I’m not sure if you actually did). I would a

Re: [weewx-user] Python error?

2021-03-31 Thread Auchtermuchty Weather
I found the default Buster had python 2. I installed 3, and set it to be the default version: https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux#h2-change-python-version-system-wide

Re: [weewx-user] Python error?

2021-03-30 Thread vince
On Tuesday, March 30, 2021 at 1:55:57 PM UTC-7 Mauro De Lauretis wrote: > I still have the newest version of RPi OS, therefore I don't know what to > change. > But it seems that the python in the system its gone. Maybe I have to do a > fresh install. > Considering how confused you seem to be, a

Re: [weewx-user] Python error?

2021-03-30 Thread John Kline
I you are running an up to date RPi OS Buster (the latest version), you should have Python 3.7 installed. What do you get when you run the following 3 commands (my example bellows shows what you should get)? jkline@judy:~ $ which python3 /usr/bin/python3 jkline@judy:~ $ python3 --version Python

Re: [weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
I still have the newest version of RPi OS, therefore I don't know what to change. But it seems that the python in the system its gone. Maybe I have to do a fresh install. Il giorno martedì 30 marzo 2021 alle 21:46:51 UTC+2 tke...@gmail.com ha scritto: > Probably configobj was added to your "

Re: [weewx-user] Python error?

2021-03-30 Thread Tom Keffer
Probably configobj was added to your "system" Python. That is, /usr/bin/python. Is there no way to upgrade your system Python? That would be best. If not, you will have to add configobj to your custom version of Python by using pip: *sudo /usr/local/bin/python -m pip install configobj* You'll ha

Re: [weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
You had right, Tom. Now the problem is that the installing process does not find the module configojb, even it is correctly installed. Il giorno martedì 30 marzo 2021 alle 17:19:25 UTC+2 tke...@gmail.com ha scritto: > No idea where that would put things. Try /usr/local/bin. > > On Tue, Mar 30

Re: [weewx-user] Python error?

2021-03-30 Thread Tom Keffer
No idea where that would put things. Try /usr/local/bin. On Tue, Mar 30, 2021 at 8:16 AM Mauro De Lauretis < mauro.delaure...@gmail.com> wrote: > > I've installed it by downloading the package from python.org and then > "sudo make altinstall" > Il giorno martedì 30 marzo 2021 alle 17:10:32 UTC+2

Re: [weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
I've installed it by downloading the package from python.org and then "sudo make altinstall" Il giorno martedì 30 marzo 2021 alle 17:10:32 UTC+2 tke...@gmail.com ha scritto: > How did you install it? Using apt-get? pyenv? Something else? > > On Tue, Mar 30, 2021 at 8:03 AM Mauro De Lauretis >

Re: [weewx-user] Python error?

2021-03-30 Thread Tom Keffer
How did you install it? Using apt-get? pyenv? Something else? On Tue, Mar 30, 2021 at 8:03 AM Mauro De Lauretis < mauro.delaure...@gmail.com> wrote: > Thank you for your reply, Tom! > > Actually I've installed the Python 3.8.4 version on my RPi, but I don't > have any folder of it in /usr/bin. >

Re: [weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
Thank you for your reply, Tom! Actually I've installed the Python 3.8.4 version on my RPi, but I don't have any folder of it in /usr/bin. Any ideas why? Mauro Il giorno martedì 30 marzo 2021 alle 16:45:26 UTC+2 tke...@gmail.com ha scritto: > This is definitely a Python version problem. You ne

Re: [weewx-user] Python error?

2021-03-30 Thread Tom Keffer
This is definitely a Python version problem. You need Python 3.5 or later. If you simply run weewxd, the version of Python that it will use is controlled by the "shebang" line in the file --- that is, the very first line in weewxd. That, in turn, is set by whichever version of Python you used to i

[weewx-user] Python error?

2021-03-30 Thread Mauro De Lauretis
Hi all, I can't get Weewx to work since I've upgraded to the last released version. This is what I get: root@rasp_pineto:/home/weewx# tail -f /var/log/syslog Mar 30 13:34:16 rasp_pineto systemd[1]: Starting LSB: weewx weather system... Mar 30 13:34:19 rasp_pineto weewx[1332] INFO __main__: Ini

[weewx-user] python error after reinstalling with 4.1.1 python3

2020-09-21 Thread Andrew H
Hi all, Aweosmse software, have been using it since about 2015 without issue! I'm running a Davis Vantage Vue w/usb connected to a raspberry pi. I have just done a clean install of raspbian and have attempted an install with 4.1.1 from apt repo using python3 but I'm hitting an error when it tr

Re: [weewx-user] python error setup on Mac 10.12.4 Sierra

2017-04-17 Thread mwall
On Monday, April 17, 2017 at 12:18:47 PM UTC-4, Tom Keffer wrote: > > The default install location, /home/weewx, will not work on the Mac, > because directory /home is reserved for something else. Instead, edit > setup.cfg, changing this > > home = /home/weewx > > > to this > > home = /Users/weew

Re: [weewx-user] python error setup on Mac 10.12.4 Sierra

2017-04-17 Thread Thomas Keffer
Using the command *./setup.py install* this worked for me on my copy of Sierra 10.12.4. Did you change anything in setup.py? I don't think this is your problem, but make sure to edit the file setup.cfg before running setup.py. The default install location, /home/weewx, will not work on the Mac

[weewx-user] python error setup on Mac 10.12.4 Sierra

2017-04-17 Thread MRL
attempting install on Mac 10.12.4 Sierra Packages seemed to go OK Cheetah (2.4.4) configobj (5.0.6) Markdown (2.6.8) olefile (0.44) Pillow (4.1.0) pip (9.0.1) pyephem (3.7.6.0) pyserial (3.3) pysqlite (2.8.3) pyusb (1.0.0) setuptools (28.8.0) six (1.10.0) install aborts with foll