You can download psychopy-iolabs via pip as follows:
pip install psychopy-iolabs
Or you can find it in the Plugins & Packages Manager in PsychoPy Builder from v2023.1.0 onwards.