for python >= 3.9 you should do following process:
in primes.py you have to change the content because in python 3.9 GCD belongs to math instead of fractions
primes.py-dir : C:\python39\Lib\site-packages\basehash\primes.py
---------- OLD ----------
def gcd(*n): from fractions import gcd return abs(reduce(gcd, n))
---------- NEW ----------
def gcd(*n): from math import gcd return abs(reduce(gcd, n))