How to download ERA5 dataset?

If you need to download ERA5, you need to use the Climate Data Store (CDS) API, please have a look at the following page for details:

How to download ERA5 - Copernicus Knowledge Base

(from the Forum post: Hello everyone I would like to download era5 data with a python script for this I have created an ecmwf account but if I run the test.py script it gives me the following error I am under ubuntu thank you in advance for your help - #2 by Michela)