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