Open beachwood23 opened 6 years ago
Hi @rywhite, the release 0.1.10 just submitted to PyPi should allow you to manually set the iperf3 library
client = iperf3.Client(lib_name='nameandpathtoiperf')
Let me know if this helps.
Looks doesn't work. any thing wrong?
client = iperf3.Client(lib_name="D:\SW_Tool\iperf3\iperf3.exe") Exception AttributeError: "'Client' object has no attribute '_stdout_fd'" in <bo und method Client.del of <iperf3.iperf3.Client object at 0x000000000259D390> ignored Traceback (most recent call last): File "
", line 1, in File "C:\Python27\lib\site-packages\iperf3\iperf3.py", line 414, in init super(Client, self).init(role='c', *args, **kwargs) File "C:\Python27\lib\site-packages\iperf3\iperf3.py", line 110, in init lib_name OSError: Couldn't find shared library D:\SW_Tool\iperf3\iperf3.exe, is iperf3 in stalled?
Hey @rywhite i have same issues with you, and i windows user too.
@thiezn I did what you said but got same error
Hi @rywhite @fanfajrin
I see you tried to provide a link to the iperf3.exe as lib_name but this is not the actual library interface. Check the following link for a proper explanation of why the iperf3-python wrapper does not work for windows at the moment: https://github.com/esnet/iperf/issues/514
@virtualtam has created a new repository using Cython to try and get around the issue on windows, perhaps this can help: https://github.com/virtualtam/iperf3-cython-wrapper.
Is there support for windows planned? Perhaps this is something I could assist with.
Attempting run this python wrapper on windows (with iperf3 installed through chocolatey) results in a missing library. See the below error.