| Roomba Hacking Without A Mini Din Connector » »

Installing Scipy – No Fortran compiler found

Aug 15, 2012 by     2 Comments    Posted under: Python

Update 8/30/2013: The link below no longer works. Follow the directions on this page to install a fortran compiler on your mac. Or install Scipy Superpack, which comes with a fortran compiler. You can get it here.

I ran into an error installing Scipy today, saying “error: library dfftpack has Fortran sources but no Fortran compiler found”. After a little digging, I found a fortran compiler here: http://r.research.att.com/tools/. Installing that fixed the problem and allowed Scipy to finish installing.

Note: I also ran into a “error: could not create ‘/Library/Python/2.7/site-packages/scipy’: Permission denied” error after that, which I worked around by using sudo for the install.

I’m including the actual error messages so anyone searching for those messages will find the solution quickly 🙂

2 Comments + Add Comment

  • Thank you so much for your help. I have done all the steps except:7. From wiihtn the gcc-build folder run,../gcc_4_3_4_release/configure enable-languages=c,fortran target=x86_64-apple-darwin -build=x86_64-apple-darwin host=x86_64-apple-darwinTo do this, am I in terminal?? I dont understand. The gcc-build folder is empty. How do i run this from there?8. Compile gcc, gfortran, and the associated libraries (this will take a while),make -j4Do I type make-j4 in terminal to compile gcc,gfortran and associated libraries?? how exactly do i do this?9. Finally you can install this with,sudo make installDo i just type sude make install in terminal??

    • Hi Dennis,

      Which instructions are you looking at? I can’t answer for sure without seeing what you are looking at, but in general, yes, you would type those commands into terminal.

      For step 7, it looks like you would cd into the gcc-build folder and then run that command. It is referencing the gcc_4_3_4_release folder one level above the directory you are in.

      For step 8, yes, you would type make -j4 (two words) into terminal. I assume you would do this from inside the gcc-build folder as well.

      For step 9, again yes you would type “sudo make install” into terminal.

      Did you try doing that? If you’re still having trouble, send me the link to the instructions you are following and the error you are getting and I’ll try to figure out what’s happening.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>