![install python on mac 10.10 install python on mac 10.10](https://evermay.weebly.com/uploads/1/2/5/6/125682906/690082044.png)
Install python on mac 10.10 mac os x#
And as last step you created autostart magic of all that.Ĭongratulations, you successfully installed Python 2.7.9 (or later), Pip and all sandboxing tools under Mac OS X 10.10 Yosemite. The second part of all the entered commands created a hidden file in your home directory which contains the Virtualenv settings. Enter in Terminal.app: sudo pip uninstall virtualenvĮcho "source /usr/local/bin/virtualenvwrapper.sh" > ~/.profileĮcho "export WORKON_HOME=~/.virtualenvs" > ~/.profileĬorrect, you just uninstalled it before installing! That is necessary because we also install Virtualenvwrapper which may require a certain Virtualenv version. Let’s start sandboxing by installing the necessary tool Virtualenv (“virtual environments”). That separation is very important due because Python has its own internal (not so easy to understand) package dependency system.Īll that becomes important latest when you want to deploy your project and its dependencies so better do sandboxing from Day 1.Ĥ. Virtualenv is something like a sandboxing system which separates applications (your Python projects) and their installed packages from each other. The Pip version is displayed and can be used to install and upgrade all further Python packages and libraries.īut one key component of every Python development environment is still missing: Virtualenv. It was already installed together with Python.Įnter in Terminal.app: sudo pip install -upgrade pip Now you need update Pip which is a Python package manager.
![install python on mac 10.10 install python on mac 10.10](https://pyimagesearch.com/wp-content/uploads/2015/06/py3_opencv3_osx_cover_identification.jpg)
The newly installed Python version should be displayed.
![install python on mac 10.10 install python on mac 10.10](https://i.stack.imgur.com/rV4fb.png)
The brew help command should display a list of brew (= Homebrew) commands as validation of a successful installation of Homebrew.Įnter in Terminal.app: brew install python Open Terminal.app and type (copy & paste) the following lines to install Homebrew and to check if it worked: ruby -e "$(curl -fsSL )"Įcho "export PATH=/usr/local/bin:/usr/local/sbin:$PATH" > ~/.profile I checked Homebrew 4 years ago and it had issue but now in 2015 it became a more mature solution for the installation of complex Unix software under Mac. I am using Homebrew to install pre-compiled software.
Install python on mac 10.10 how to#
This guide shows how to install the latest 2.x release of Python and all important Python packaging / sandboxing utilities like Pip and Virtualenv under Mac OS X 10.10 Yosemite. 14 notes & Python, Pip on Mac OS X Yosemite