Install & Compatibility
Where this runs
tested against v1.2.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.062s · 18MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.056s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
DoIPClient
✓ from doipclient import DoIPClient
✗ from doip.client import DoIPClient
Common mistake due to package name misleading
DoIPConnectionException
✓ from doipclient.connectors import DoIPConnectionException
✗ from doipclient import DoIPConnectionException
DoIPConnectionException is in connectors module
Basic connection to a DoIP ECU and sending a diagnostic request.
from doipclient import DoIPClient
client = DoIPClient('192.168.0.10', 13400)
client.send_diagnostic(b'\x22\xf1\x90') # Example UDS request
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'doipclient'
Package not installed or installed in wrong environment.
fixpip install doipclient
doipclient.connectors.DoIPConnectionException: Connection refused
ECU not reachable at the given IP/port or not accepting connections.
fixVerify ECU IP and port (default 13400). Check network connectivity and firewall.
ImportError: cannot import name 'DoIPConnectionException' from 'doipclient'
Incorrect import path.
fixfrom doipclient.connectors import DoIPConnectionException
Upgrade
Version history
1.2.1latest on PyPI · released May 13, 2026
Audit
Dependencies
udsoncanoptionalOptional dependency for UDS diagnostics over DoIP