numpy and scipy for preinstalled python 2.6.7 on mac OS Lion -
Is there a way to install Memory and Sippy with Mac OS Tiger on Dragon 2.6.7? I know that Lion's Python 2.7 is also but I need to stick with Python 2.6 because I am using a module that does not work on Python 2.7.
/usr/bin/python2.7 after, and so on 2.6 and 2.5 For However, Sippy needs the Fortran compiler, and the lion does not come with one of them. It also shows that you should be Fortran compiler before installing a nonpip or can not be installed later. First, you need the Xcode command line tool. (Depending on your version of Xcode, Apple often changes the name of the package is the "Unix development tools", or "CLI Development Tulcan may" etc.).) can be installed them by own Xcode If you are using 4.3.x, app after installing Aksod store, launch it, preferences, go to Downloads, ingredients and click on the install button next to "command line tools" in . For different versions, or if you want to install them without the exode, the Homebrew page (see below) explains how to get them, or you can look around. If you have already received a package manager, homebrew, MacPort or Fink), then you do not install it: then install such gfortran : numpy and scipy to install now you are ready you (if you do not know, you might like Pip Are) easy_install Do not prefer, first you have to install: This is to then install the package Use: Depending on your exact OS version and other details, you may already have 2.6 For an underlying numpy, but in that numpy Fortran support is not supported. You can tell this because and finally: < Pre> /usr/bin/easy_install-2.7 :> Lion comes with one for each of its dragon implementation.
curl https: // raw .github.com / gist / 323731 / 25f99360c7de3f72027d8fd07cb369b1c8756ea6 / install_homebrew.rb -o /tmp/install_homebrew.rb ruby / tmp / install_homebrew.rb rehash
brew install gfortran
sudo easy_install-2.6 pip
sudo pip-2.6 installed numpy
sudo pip -2.6 installed numpy call
required before using satisfied (--upgrade to advanced): / System / Library / Frameworks / Python. In the framework / Versions / 2.7, numpy / extras / lib / dragon . The solution to this is what the error message says:
sudo pip-2.6 install --upgrade numpy
sudo pip-2.6 install scipy
Comments
Post a Comment