Remove dependency on python