The latest package on PyPi seems to be a bit old which fails to import mass on python 3.x installs.
@Gerardwx published a more updated package as periodic2023 https://pypi.org/project/periodic2023/