Migrate pip packages from a Python version to another