I use OSX and I have the protocol installed for Python3.5 and Python2.7. I know that I can run a command pip2to use Python2, and when I use the command pip3, Python3.x will be used. The problem is that by default the parameter is pipset to Python2.7, and I want it to be Python3.x.
How can i change this?
edit: No, I am not starting the virtual environment yet. If it were a virtual environment, I could just start Python3.x and forget everything about Python2.7, unfortunately, since OSX requires Python2.7 to use, I cannot do this. So I ask about it.
Thanks for the answer. However, I do not want to change what I am doing python. Instead, I would like to change the path being executed pip. At the moment, it pip -Vshows me pip 8.1.2 from /Library/Python/2.7/site-packages (python 2.7), but I'm looking for it. pip 8.1.2 from /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages (python 3.5)I'm sure there must be a way to do this. Any ideas?
source
share