Vinyll's blog

( Python, Javascript & Web stuff… )

Install python3 and pip on a Mac OS

Homebrew

If you haven't installed homebrew yet, it a useful tool to have. Google it, it will be fast.

Install pyton3

brew install python3

Easy_install pip for python3

/usr/local/share/python3/easy_install pip

Optionally, make a pip3 symlink

ln -s /usr/local/share/python3/pip /usr/local/bin/pip3

All set, you can install your libs

I'll install Jinja2 for testing

pip3 install jinja2

run your scripts

Use python3 to execute them of course :

python3 myscript.py

By vinyll on May 1, 2012


Comments