I was running python 2 before, and upgraded to python 3. Never had an
issue until I upgraded to 4.1.1.
What am I missing?
# python --version
Python 3.7.6
pyserial is installed.
[root@server bin]# ./wee_device
Using configuration file /home/weewx/weewx.conf
Using Vantage driver version 3.2.1 (weewx.drivers.vantage)
Traceback (most recent call last):
File "./wee_device", line 78, in <module>
main()
File "./wee_device", line 74, in main
device.configure(config_dict)
File "/home/weewx/bin/weewx/drivers/__init__.py", line 67, in configure
self.do_options(options, parser, config_dict, not options.noprompt)
File "/home/weewx/bin/weewx/drivers/vantage.py", line 2055, in do_options
station = Vantage(**config_dict[DRIVER_NAME])
File "/home/weewx/bin/weewx/drivers/vantage.py", line 511, in __init__
self.port.openPort()
File "/home/weewx/bin/weewx/drivers/vantage.py", line 307, in openPort
self.serial_port = serial.Serial(self.port, self.baudrate,
timeout=self.timeout)
AttributeError: module 'serial' has no attribute 'Serial'
--
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/9dd3cff9-1660-4d09-a7d3-2ee80ebc93a5n%40googlegroups.com.