adding scipy package check before using cache