I was looking for some way to create a human walking in Blender and fortunately found this nice video tutorial:
I needed to modify the retarget python script because after python 3.10 float to int conversion is not automatic anymore, so you need to do it too.
vi .config/blender/3.0/scripts/addons/retarget-bvh/retarget.py
And add int() casting:
scn.frame_current = int(frames[0])
and here:
scn.frame_set(int(frame))