How to install Scipy with pip on Mac Mountain Lion OS X v10.8

前端 未结 9 1675
天涯浪人
天涯浪人 2020-12-03 14:13

I\'m having serious difficulty installing Scipy with pip on Mountain Lion. I\'ve tried:

sudo pip install -e git+https://github.com/scipy/scipy#egg=scipy-dev
         


        
9条回答
  •  离开以前
    2020-12-03 14:51

    Pip has difficulties with scipy on OS X in general. It is not trivial to install from the sources, so I advise against it. In OS X you have a few better options:

    • Scipy superpack, a bunch of precompiled binaries
    • Enthought Canopy (free or another) has already everything you'll need (numpy, scipy, matplotlib, etc.)
    • Anaconda, a free scientific python distribution with probably all the packages you'll ever need.
    • MacPorts, a comprehensive and flexible package manager that allows you to install and maintain a python distribution
    • Homebrew, another popular package manager for OS X

提交回复
热议问题