adopted the latest compression way of python command