Skip to content

Installation issue on Mac OS #18

Closed
@noriko-hiroi

Description

@noriko-hiroi

Hi,
I got an error to install BPCells.
My environment is macOS 12.6, intel 64-bit, R 4.2.3 on RStudio-2023.03.0-386.

I installed in advance hdf5 with;
% conda install -c anaconda hdf5

Then restarted RStudio and;
>remotes::install_github("bnprks/BPCells")

.
.

  • installing source package ‘BPCells’ ...
    ** using staged installation
    Testing hdf5 by compiling example program...

Retrying with pkg-config flags...
Error running 'pkg-config hdf5 --cflags --libs'

Searching for hdf5 in a conda env...
no conda environment found in '$CONDA_PREFIX'

Unable to locate libhdf5. Please install manually or edit compiler flags.
ERROR: configuration failed for package ‘BPCells’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/BPCells’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/63/ngc0xtk17p5cbbs6762b48d80000gn/T//RtmpAUI64J/filec47557cbe71/BPCells_0.1.0.tar.gz’ had non-zero exit status

The error messages seems saying R cannot find hdf5.
I wonder what exactly I should do to overcome this error.
Any help I will be deeply grateful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions