Did you compile metis yourself by any chance? There is a bug that was introduced into the build system of Metis recently and you’ll need add this patch: Link shared metis lib against GKlib by catap · Pull Request #52 · KarypisLab/METIS · GitHub
Also, it looks like you are using python 3.9; you’ll need to upgrade to Python>=3.10.