The present invention relates to compounds of formula I: and pharmaceutically acceptable salts thereof, pharmaceutical compositions comprising the compounds of formula I, and methods of using said compounds, salts and compositions in the treatment of various disorders associated with CRM1 activity.