New comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/43339#issuecomment-1500818797 Comment: It is possible you had a very old python version, so it was picking up modules from a different site-packages directory (python3.10/site-packages instead of python3.11/site-packages). Update your system and it will work.