IPython comes with a very nice web-based notebook environment. To install IPython we run the following command in the Terminal: $ pip install ipython. Mac OS X comes with Python 2.7 already installed, that can be used. As long as you’re at it, you can also add the directory where Python scripts get installed. To install Homebrew paste the following in a terminal: ruby -e '$(curl -fsSL The brew command and any executables it installs will go in the directory /usr/bin/local so you want to make sure that goes at the front of your system’s PATH. It builds packages from source, intelligently re-uses libraries that are already part of OS X, and encourages best practices like installing Python packages with. Homebrew is my favorite package manager for OS X. If you’ve installed Xcode on Snow Leopard then you already have the command line tools. If you’ve already installed on Lion or Mountain Lion then you can install the command line tools from the preferences. Head over to, register for a free account, and download (then install) the latest “Command Line Tools for Xcode” for your version of OS X. These include important things like development headers, gcc, and git. Command Line Tools The first order of business is to install the Apple command line tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |