The library is only available as pycryptodome, under the Crypto namespace. The self-tests are now run by pytest, which must be installed for python -m Crypto.SelfTest to work. The test command of ...