3

I had an old Python version on one MacBook, and I'm used to having updated stuff on another MacBook, so I brew install python on the first one.

Then, I got this when checking:

$ python3 --version
Python 3.12.3
$ pip --version
pip 23.3 from /opt/homebrew/lib/python3.11/site-packages/pip (python 3.11)

Is this normal? Or should my pip follow the same Python version?

7

1 Answer 1

0

No worries at all about this. Pip is a simple script which fetches package from pypi and runs setup.py on it (in very simple terms of how it works).

If you create new venv and if you try to run pip3/pip install, you will see the prompt showing that you may have to update your pip. It will also show you the information about how you can do it:

python3 -m pip install –upgrade pip

Why it is bad to have an old pip installed? I observed some wheel problems. Seems like there were some improvements and, also, maybe it also uses some older dependencies to build the things.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.