Custom Policy Checks with Python

I want to implement Custom Policy Checks using Python. I installed the liquibase-checks-python library but when I import, it throws an error ‘No module named polyglot’. I tried to install polyglot but got an error that seems to be related to setuptools. I’ve upgraded setuptools, but still get this error: ERROR: Can not execute setup.py since setuptools is not available in the build environment.

Has anyone else run into this Python dependency issue?