0

I have the following situation:

enter image description here

Python version is 3.8.2, but Python version of pip3 is 3.9. How can I change it?

2
  • 2
    You probably have multiple python installations. You can check the executable path with which pip3 and which python3 and you will see that they have a different location. your PATH variable defines which python installation is picked first, you can check that with echo $PATH, what comes first is used first Commented Oct 12, 2020 at 15:15
  • 1
    Never use the pip, pip3, etc. scripts. Instead always call pip's executable module for a specific Python interpreter explicitly: pythonX.Y -m pip .... -- snarky.ca/why-you-should-use-python-m-pip Commented Oct 12, 2020 at 15:33

1 Answer 1

3

As the comments have already said, it looks like you have 2 python versions installed, so you either want to uninstall one of them or use python3.8 -m pip instead of just pip3

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.