When attempting to use METIS I am facing this error:

I installed METIS in Ubuntu 20.04 by:
git clone git@github.com:KarypisLab/GKlib.git
git clone https://github.com/KarypisLab/METIS.git
cd GKlib
make config cc=gcc prefix=~/local
make
make install
cd ../METIS
make config shared=1 cc=gcc prefix=~/local i64=1 r64=1
make
make install
My cmake is version 3.2. The runtime error arises when using the python metis package.
I could not figure out a way to solve this issue, any assistance would be greatly appreciated. Thank you!