upgrade python with same packages code example Example: how to update a module in python pip install [package] --upgrade