Nice that you wrote the instruction to install it. Would you mind making the import inside a try block and write in the except block print pip install ...? In case it is attempted to be run in a machine where it is not install, a nicer message than the error would be printed.