The extension problem for Lee and Euclidean weights