Use PIP in Python 3.0 on MacOS

So, you are getting started with numpy, scipy, sklearn and want to use them in python3 instead of python 2.7 on your macbook?

Simply run following commands in your terminal:

$python3 -m pip install numpy
$python3 -m pip install scipy
$python3 -m pip install -U scikit-learn

(For python 2.7, just run $pip install instead of $python3 -m pip.)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.