On Thu, Oct 25, 2012 at 6:01 AM, Jack Bryan <dtustud...@hotmail.com> wrote:
> Hi, All, > > I am trying to install numpy from http://www.scipy.org/Download . > > by > > git clone git://github.com/numpy/numpy.git numpy > > > But, when I ran > > python setup.py install > > I got: > > SystemError: Cannot compile 'Python.h'. Perhaps you need to install > python-dev|python-devel > > Where to get python-dev ? > If you're on OS X you have to install XCode, preferably with the optional SDKs for previous platforms. On Linux you can install python-dev or similar with your package manager. Ralf > I tried: > > $ easy_install python-devel > Searching for python-devel > Reading http://pypi.python.org/simple/python-devel/ > Couldn't find index page for 'python-devel' (maybe misspelled?) > Scanning index of all packages (this may take a while) > Reading http://pypi.python.org/simple/ > No local packages or download links found for python-devel > error: Could not find suitable distribution for > Requirement.parse('python-devel') > > and > > $ easy_install python-dev > Searching for python-dev > Reading http://pypi.python.org/simple/python-dev/ > Couldn't find index page for 'python-dev' (maybe misspelled?) > Scanning index of all packages (this may take a while) > Reading http://pypi.python.org/simple/ > No local packages or download links found for python-dev > error: Could not find suitable distribution for > Requirement.parse('python-dev') > > > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion