Question

I am trying to install py-tables using macports. I have previously installed hdf5 with fortran. Somewhere something appears to have gone wrong. When I try to run:

    port install py-tables +fortran

I get the error:

Error: +fortran requires a fortran compiler to be selected

I do have a fortran compiler in the path. How can I tell macports to select gfortran, which I installed using ports, is default and is in the path?

Was it helpful?

Solution

You have to select the gfortran variant as well.

port install py-tables +fortran +gfortran
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top