If the security lines into the glass pyramid look very long, try going in the Carrousel du Louvre, which can be accessed off the Rue de Rivoli or by going down the external stairs to either side of the Arc de Triomphe du Carrousel. Lines are sometimes shorter here.