upgrade module using pip code example Example 1: pip upgrade package pip install Django -U Example 2: update pip module pip install [package_name] -U