print ImportError when lack of dictionary