Installing numpy on 2.7 (OS X 10.7)

Benjamin Kaplan benjamin.kaplan at case.edu
Sun Aug 21 09:39:36 EDT 2011


On Sun, Aug 21, 2011 at 6:03 AM, jefflovejapan <jefflovejapan at gmail.com> wrote:
> I'm following the instructions given <href="http://www.scipy.org/
> Installing_SciPy/Mac_OS_X">here</href>, but it isn't working.
> Specifically, I'm getting:
>
> Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/
> Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such
> file or directory
>
> even though I completed the two downloads from github successfully.
> Any ideas why this wouldn't be working, or any ideas where I can look
> for better instructions?
> --

As the error says, it can't find the setup.py file. My guess would be
you forgot to cd to the newly created directory. You have to "cd
numpy" (or cd scipy if you're trying to install that) first to get
into the directory with the install script.



More information about the Python-list mailing list