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 https://files.pythonhosted.org/packages/47/ca/cdd0862ca933f751dd/pip-21.1.3-py3-none-any.whl (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!





Recent Posts:
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, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.