micropython / micropython-lib

Core Python libraries ported to MicroPython

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem with iperf3 on MicroPython

mauriceee31 opened this issue · comments

Hi,

i am getting the following error when I try to run a iperf3 client on my Raspberry Pi Pico W:
` import iperf3
client = iperf3.Client()

Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'Client'`

in this unofficial documentation it should work. https://iperf3-python.readthedocs.io/en/latest/examples.html#examples

The MicroPython version of iperf3 doesn't implement all features of the main/CPython version.

To use it in client mode, use commands like this:

iperf3.client('192.168.1.5')
iperf3.client('192.168.1.5', udp=True, reverse=True)