سؤال

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?

هل كانت مفيدة؟

المحلول

You have to select the gfortran variant as well.

port install py-tables +fortran +gfortran
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top