Skip to content

python3.10 support? #71

@gharris999

Description

@gharris999

python3.10 is the python version included with the Ubuntu 22.04 LTS release. I'm finding that the iperf3 python module fails with this version. Example output:
File "/usr/local/share/lcwa-speed/lib/python3.10/site-packages/iperf3/iperf3.py", line 100, in __init__ lib_name = util.find_library('libiperf') File "/usr/lib/python3.10/ctypes/util.py", line 341, in find_library _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name)) File "/usr/lib/python3.10/ctypes/util.py", line 147, in _findLib_gcc if not _is_elf(file): File "/usr/lib/python3.10/ctypes/util.py", line 99, in _is_elf with open(filename, 'br') as thefile: FileNotFoundError: [Errno 2] No such file or directory: b'liblibiperf.a' Exception ignored in: <function IPerf3.__del__ at 0x7f07db2cb0a0> Traceback (most recent call last): File "/usr/local/share/lcwa-speed/lib/python3.10/site-packages/iperf3/iperf3.py", line 213, in __del__ os.close(self._stdout_fd) AttributeError: 'Client' object has no attribute '_stdout_fd'

Is support for this version contemplated to be released any time soon?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions