On Sunday, 26 April 2020 02:34:59 UTC+10, Tom Keffer wrote:
>
> I tried Debian Buster in virtualbox and had the same issues appear
>>
>>
> I'm not following. Are you saying that a Buster upgrade removed pyserial 
> and configobj?
>
 
That concerned me too, tried using serial under python2 on my desktop which 
runs buster but not WeeWX. Not found but not surprising since I've never 
run WeeWX on this machine, a quick apt-get install fixed that. Configobj 
imported fine as I have used that with non-WeeWX code.  So buster is fine.

Gary

gary@flamingo:~$ lsb_release -da
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 10 (buster)
Release:    10
Codename:    buster

gary@flamingo:~$ cat /etc/debian_version
10.3

gary@flamingo:~$ python2
Python 2.7.16 (default, Oct 10 2019, 22:02:15) 
[GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named serial
>>> quit()
gary@flamingo:~$ sudo apt-get install python-serial
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  python-serial
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 83.0 kB of archives.
After this operation, 442 kB of additional disk space will be used.
Get:1 http://ftp.au.debian.org/debian buster/main amd64 python-serial all 
3.4-4 [83.0 kB]
Fetched 83.0 kB in 0s (380 kB/s)       
Selecting previously unselected package python-serial.
(Reading database ... 528043 files and directories currently installed.)
Preparing to unpack .../python-serial_3.4-4_all.deb ...
Unpacking python-serial (3.4-4) ...
Setting up python-serial (3.4-4) ...

gary@flamingo:~$ python2
Python 2.7.16 (default, Oct 10 2019, 22:02:15) 
[GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
>>> serial.__version__
'3.4'
>>>quit()


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/f24a1a7b-d582-4120-a512-e902590777b0%40googlegroups.com.

Reply via email to