was getting the error TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero' when trying to run python3 setup.py dist
issue turned out to be with the newest version of setup tools, so I fixed it by downgrading pip install setuptools==68