<br><br><div class="gmail_quote">On Thu, Oct 25, 2012 at 6:01 AM, Jack Bryan <span dir="ltr"><<a href="mailto:dtustudy68@hotmail.com" target="_blank">dtustudy68@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">
Hi, All, <div><br></div><div>I am trying to install numpy  from <a href="http://www.scipy.org/Download" style="font-size:10pt" target="_blank">http://www.scipy.org/Download</a> . </div><div><br></div><div>by </div><div><br>
</div><div><pre style="padding:5px;border:1px solid rgb(192,192,192);font-family:courier,monospace;white-space:pre-wrap;word-wrap:break-word;background-color:rgb(255,248,237);font-size:12px;line-height:16.78333282470703px">
git clone git://<a href="http://github.com/numpy/numpy.git" target="_blank">github.com/numpy/numpy.git</a> numpy</pre></div><div><br></div><div>But, when I ran </div><div><br></div><div>python setup.py install</div><div><br>
</div><div>I got:</div><div><br></div><div>SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel</div><div><br></div><div>Where to get <span style="font-size:10pt">python-dev ? </span></div>
</div></div></blockquote><div><br>If you're on OS X you have to install XCode, preferably with the optional SDKs for previous platforms.<br><br>On Linux you can install python-dev or similar with your package manager.<br>
<br>Ralf<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt">I tried:</span></div>
<div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt"><div>$ easy_install python-devel</div><div>Searching for python-devel</div><div>Reading <a href="http://pypi.python.org/simple/python-devel/" target="_blank">http://pypi.python.org/simple/python-devel/</a></div>
<div>Couldn't find index page for 'python-devel' (maybe misspelled?)</div><div>Scanning index of all packages (this may take a while)</div><div>Reading <a href="http://pypi.python.org/simple/" target="_blank">http://pypi.python.org/simple/</a></div>
<div>No local packages or download links found for python-devel</div><div>error: Could not find suitable distribution for Requirement.parse('python-devel')</div><div><br></div><div>and </div><div><br></div><div><div>
$ easy_install python-dev</div><div>Searching for python-dev</div><div>Reading <a href="http://pypi.python.org/simple/python-dev/" target="_blank">http://pypi.python.org/simple/python-dev/</a></div><div>Couldn't find index page for 'python-dev' (maybe misspelled?)</div>
<div>Scanning index of all packages (this may take a while)</div><div>Reading <a href="http://pypi.python.org/simple/" target="_blank">http://pypi.python.org/simple/</a></div><div>No local packages or download links found for python-dev</div>
<div>error: Could not find suitable distribution for Requirement.parse('python-dev')</div></div><div><br></div><div><br></div><div><br></div></span></div>                                    </div></div>
<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br>