Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problem #34

Closed
Dannyxu123 opened this issue Jun 24, 2023 · 2 comments
Closed

Installation problem #34

Dannyxu123 opened this issue Jun 24, 2023 · 2 comments

Comments

@Dannyxu123
Copy link

Hi! I have recently been updating Seurat V5. I am also very excited about the BPcells ability to handle single-cell data with millions of cells. However, after several trials, I just could not install BPcells on windows 11.
I followed your instruction about pre-installing HDF5 first by running "conda install -c anaconda hdf5", indeed I could see the hdf5 after running "conda list". However, after running "remotes::install_github("bnprks/BPCells", quiet = F)" at the Rstudio, I got the errors shown below:

  • installing source package 'BPCells' ...
    ** using staged installation
    Testing hdf5 by compiling example program...
    tools/h5write.c:19:10: fatal error: hdf5.h: No such file or directory
    #include "hdf5.h"
    ^~~~~~~~
    compilation terminated.
    Unable to locate libhdf5. Please install manually or edit compiler flags.
    ERROR: configuration failed for package 'BPCells'

It seems that R could not find this hdf5.h file despite that I have installed it. I've checked the issues#9 but seems that upgrading Rtools simply do not work for me.
Also, I've also tried to install hdf5 with cMake, according to hdfgroup instructions(https://portal.hdfgroup.org/display/support/Building+HDF5+with+CMake). the R still could not locate libhdf5 either.
I am well aware that this problem is not likely to be caused by BPcells, but I am really looking forward to your kind help.

@bnprks
Copy link
Owner

bnprks commented Jun 24, 2023

I think issue #9 will have your answer. On Windows you don't need to install hdf5 yourself, but you do need Rtools43 (I think I might have a bug that causes errors with Rtools42 right now, but happy to fix if you can't use R 4.3)

@bnprks
Copy link
Owner

bnprks commented Jul 6, 2023

I'm closing this for inactivity -- feel free to re-open or post additional comments if you still haven't been able to fix your problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants