removed importshape and added some python import checks in pythonenv