Unable to install amset in Ubuntu 22

Hello exerts,
I am trying to install amset using ‘pip install amset’ command line and I am getting following error. Could anyone please help me to solve this ?

Using cached BoltzTraP2-22.12.1.tar.gz (81.8 MB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.

I tried to search the solution and I found that I have to install “setup tools” and “ez_setup” Module for solution of Python setup.py egg_info and I did. but still getting the same error.

Could anyone please help ?

Thank you