Brew linked to python3, but python --version is still 2.7

(Richard Pavlovskiy) #1

Hello, guys!
Brew newbie here, here is my issue:

I installed and linked python with homebrew, but python and pip --version is still 2.7.

  • I tried to link python, but homebrew writes that it already linked(the same with pip) and shows the correct path to the python 3.7.
  • reinstallation doesn’t help too.
  • Brew doctor said it’s ready to brew - so nothing suspicious

The other thing is that I have anaconda downloaded, but i think i already managed this mess with Anaconda and Homebrew following this

Any ideas how this can be fixed?

(Sean Molenaar) #2

The python 3 binary is called python3 as per python conventions. Same goes for pip for python 3.