codeLearner
codeLearner

Reputation: 53

I have python 2.7 and 3.6 installed on my mac. How to find the version of pip associated with Python3?

I tried using pip --version but it will give me the version of only pip associated with python and not python3.

Upvotes: 0

Views: 78

Answers (2)

Guillaume Jacquenot
Guillaume Jacquenot

Reputation: 11717

You can run the following command, where you can update the program python to whatever python program you have

python -m pip --version

Upvotes: 1

anon
anon

Reputation: 1258

Try using pip3 --version. Normally pip3 is the symlink to the pip associated with Python3. If that doesn't work, please provide more details as to how you installed the python versions.

Upvotes: 1

Related Questions