Handle ImportError in nanogenui script due to missing deps.