[Python-modules-team] Bug#845485: pymodbus: python-serial is required

Matthias Urlichs matthias at urlichs.de
Wed Nov 23 21:09:44 UTC 2016

Source: pymodbus
Version: 1.2.0-2
Severity: normal

>>> from pymodbus.client.sync import ModbusTcpClient as ModbusClient
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 2, in <module>
    import serial
ImportError: No module named serial

i.e. even if you don't have a serial port, python-serial must be present
for pymodbus to be usable.

-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

More information about the Python-modules-team mailing list