Fix Python WARNING: You are using pip version 19 however version 21 is available

WARNING: You are using pip version 19.2.3, however, version 21.1.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

You might see the above warning message when you run pip or pip3 commands on your terminal if your pip version is not the latest one. As the warning suggests you need to upgrade to the latest version to get this warning go away by simply running the command "pip install --upgrade pip"

code2care@mac Desktop % pip3 install --upgrade pip
Collecting pip
  Downloading (1.5MB)
     |█████| 1.6MB 909kB/s 
Installing collected packages: pip
  Found existing installation: pip 19.2.3
    Uninstalling pip-19.2.3:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'RECORD'
Consider using the `--user` option or check the permissions.

⛏️ If you are using pip3 package installer then use the command "pip3 install --upgrade pip" and you might get an error - Permission denied, so used --user along with the command to fix it.

WARNING: You are using pip version
WARNING: You are using pip version

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.