GPG generate issue

When I run

gpg --gen-key

I got the following error message:
Not enough random bytes available. Please do some other work to givethe OS a chance to collect more entropy!

Soution:
Open a new terminal and run find / > /dev/null

This will help gpg key generation finish ASAP