editeodoro / Bbarolo

Bbarolo is a 3D fitting tool to derive the kinematics of galaxies from emission-line observations.
http://editeodoro.github.io/Bbarolo/
GNU General Public License v2.0
30 stars 8 forks source link

I can install BBarolo but not pyBBarolo #27

Closed arnbobo closed 2 years ago

arnbobo commented 2 years ago

Hi there,

I'm trying to replicate an analysis done by one of my collaborators using pyBBarolo in a python script. I've been able to install the command-line BBarolo tool via Homebrew without issue, but I am having trouble installing pyBBarolo. In particular, I'm getting the following message:

  ------ Installing pyBBarolo v1.2.3 ------
  Checking numpy... OK.
  Checking astropy... OK.
  Running BBarolo configure... configure: WARNING: No MPI compiler found, won't use MPI.
  configure: error:
      -------------------------------------------------------------
      Could not find the CFITSIO library.

      ERROR: BBarolo configuration failure. If you have the libra-
             ry in non ordinary path, try to run ./configure with
             --with-cfitsio=<dir> option
      -------------------------------------------------------------

I'm not sure how to resolve this issue. I do have the dependencies installed (which I did with Conda) - after all, Homebrew was able to find them. I've tried manually adding CFITSIO to $PATH, but this doesn't seem to have changed anything. Do you have any suggestions?

arnbobo commented 2 years ago

I figured it out! Adding the library's to $PATH didn't work, but the --with-[LIBRARY] commands did.

editeodoro commented 2 years ago

Great, good to hear you solved the issue! Let me know if you have any addition problem.