satijalab / sctransform

R package for modeling single cell UMI expression data using regularized negative binomial regression
GNU General Public License v3.0
203 stars 33 forks source link

Cannot install sct on macbook pro #145

Closed shwetajohari closed 1 year ago

shwetajohari commented 1 year ago

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0' ld: warning: directory not found for option '-L/usr/local/gfortran/lib' ld: library not found for -lgfortran clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [sctransform.so] Error 1 ERROR: compilation failed for package ‘sctransform’

shwetajohari commented 1 year ago

System: mac os monterey 12.5.1

saketkc commented 1 year ago

I would recommend installing brew: https://brew.sh/ and then brew install gcc and then installing sctransform.