Installing Python and pip on Mac

Tolu Adesina
The Startup
Published in
2 min readNov 17, 2019

Well python3 and pip3 …

https://www.zdnet.com/

In this tutorial, we will not be managing Python versions with any virtual environments, be it virtualenv or any other one you might be used to.

Installing Python3

  • Follow this link to download the latest version of python, for now python3
  • Double-click to run the downloaded package, and then follow the instructions.
  • When this process is done, run this in python3 --version in your terminal — this will print out the version of Python you have on your Mac.
my version is python 3.8.0

You can also check where python is installed on you mac by running which python3 .

Installing Pip3

  • Follow this link to download pip3 on your computer
  • Follow the instructions on the page and then after successfully downloading Pip3, run python3 get-pip.py in your terminal
  • This will install pip3 into your laptop and then you can check the installation of pip3 by running which pip3 in your terminal.
you can see the location for python3 and for pip3

Now you can use pip3 to install any package you need in your projects. Simply write pip3 <package> . <package> is the library or package you want to add to your project.

Now you can start coding in python, Happy Coding! 😁

Thank you for your time. I hope you’ve enjoyed reading this article.

--

--

Tolu Adesina
The Startup

_______ | Always on a quest for knowledge. | CodeArtist | toluadesina.com