![]() ![]() Note that the command line has changed to somehting like (envipython)$.įrom now on, we will install the packages using this virtual environment. Let us create a new virtual enviroment, called envipython Virtual EnvironmentĪ good practice is to use a virtual environment to have all the packages that you are using for one project in the same folder. ![]() The good thing about installing Python with Homebrew is that you also install pip and Distribute, which extend the packaging and installation facilities provided by the distutils in the standard library. PATH=/usr/local/bin:/usr/local/share/python:$PATH Open (or create if you don’t have it yet) the file ~/.profile and write the following lines in it: ![]() We need to change the path to point to the new version of Python. Unfortunately, when we run python on the Terminal, we will still be using the preinstalled Python that comes with Mac OS X. Now it’s very easy to install Python! just write the following in your Terminal: $ ruby -e “$(curl -fsSL )” Install Python 2.7 To download and install Homebrew you need to run the following command in the Terminal: ![]() To install it you just need to click in the right arrow. Once in the preferences window go to the Downloads tab and install the Command Line Tools, which is in the Components section. In the upper menu go to Xcode –> preferences…, or alternatively use the shortcut cmd+. Once installed, launch the application from the Launchpad menu. Go to the Apple Store and download the free version of XCode. Therefore, in this post we will explain how to install the real version of Python as well, which is better for developing. Mac OS X comes with Python 2.7 already installed, that can be used for learning but which might be out of date. Step by step, it explains how to install Python, Homebrew, Virtualenv, IPython, IPython Notebook and some useful libraries like Matplotlib.ĭo you want to install IPython on Mac OS X? Check out this tutorial! #python This post describes how to install IPython on a Mac OS X, Mountain Lion. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |