Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with iperf3 on MicroPython #776

Open
mauriceee31 opened this issue Dec 7, 2023 · 1 comment
Open

problem with iperf3 on MicroPython #776

mauriceee31 opened this issue Dec 7, 2023 · 1 comment

Comments

@mauriceee31
Copy link

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

@dpgeorge
Copy link
Member

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants