Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

This is probably a 'no-no' because I already posted this on StackOverflow but maybe this is a better place, since maybe more folks here have dealt with this than on StackOverflow.

I have numpy, Xcode 4.5.1, Python 2.7.3, and gfortran 4.2.4-5666.3 installed. The latter I installed from Homebrew, which it put in /usr/local/Cellar. Running setup.py in the scipy folder results in the familiar "Could not locate executable " errors. I grep'd for where these compilers are referenced to try to point Python to the right place but came up with nothing. Any ideas? Many thanks.

share|improve this question
This question really is on topic on SO and not here, so your chances are likely better there too. Besides, SE discourages simultaneous cross-posting of questions. – whuber Oct 25 '12 at 21:35
Try Chris Fonnesbeck's Scipy Superpack or do like me: compile everything from scratch :-) – chl Oct 25 '12 at 21:41
Try this: sourceforge.net/projects/scipy/files (I had problems with installing SciPy at Mac, but it finally worked). But... what do you mean, that you installed Fortran (gfortran?) at Cellar? And what was the exact error? (Maybe you tried to use a different architecture...); @chi for mi Scipt Superpack didn't work for some reason (with the mad girlfriend error status); it's a pity since my point was to install sk-learn. – Piotr Migdal Oct 25 '12 at 22:08

closed as off topic by whuber Oct 25 '12 at 21:35

Questions on Cross Validated are expected to relate to statistics within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.