Hello, I was working on sth when an error occured:

ModuleNotFoundError: No module named 'Crypto'
seems like I'm missing some packages... So I typed:

apt-dist upgrade
downloaded about 1gb updates from repository, but still missing the crypto one... So i typed:

apt search crypto
It listed a lot of packages containing... well, I'm not sure what.

I'm using very old laptop, I'm sure that I'll have more and more errors like that. I don't want to clutter my PC each time I encounter an error, I'd like to download a package that is fitted for my purpose.

How can I manage this in a smart way? Is there a way to download exactly the package I need each time? Also in this case - which "crypto" exactly do I need?