satijalab / seurat-wrappers

Community-provided extensions to Seurat
GNU General Public License v3.0
307 stars 131 forks source link

Seurat-wrappers intsallation failure #178

Open acaulier opened 10 months ago

acaulier commented 10 months ago

Hello,

I am trying to install seurat-wrappers in my environment using the remote::github command, and get a non-zero exit status. Anyone has an idea where it comes from?

remotes::install_github('satijalab/seurat-wrappers')
Downloading GitHub repo satijalab/seurat-wrappers@HEAD

── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file ‘/tmp/RtmpvqwoY7/remotes1d64140fa6c80/satijalab-seurat-wrappers-872d4b2/DESCRIPTION’ ... OK
* preparing ‘SeuratWrappers’:
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
Omitted ‘LazyData’ from DESCRIPTION
* building ‘SeuratWrappers_0.3.2.tar.gz’

Installing package into ‘/home/jupyter/packages’
(as ‘lib’ is unspecified)

Warning message in i.p(...):
“installation of package ‘/tmp/RtmpvqwoY7/file1d641373e0e13/SeuratWrappers_0.3.2.tar.gz’ had non-zero exit status”
Moonju411 commented 10 months ago

I have similar issue! I have to install 0.3.x lineage version because I have to match the version because of my data analysis. But when I tried to install them, it gives me an this error. Is version 0.3.x lineage no longer available to be installed? My Seurat installed version is 4.1.1.

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  namespace ‘Seurat’ 4.1.1 is being loaded, but >= 5.0.0 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package ‘SeuratWrappers’
* removing ‘/home/gahui/R/x86_64-pc-linux-gnu-library/4.1/SeuratWrappers’
* restoring previous ‘/home/gahui/R/x86_64-pc-linux-gnu-library/4.1/SeuratWrappers’
Warning message:
In i.p(...) :
  installation of package ‘/tmp/RtmpBiEvAU/file9739d59d48690/SeuratWrappers_0.3.3.tar.gz’ had non-zero exit status
bc2zb commented 10 months ago

the fix in the other thread works as of 1/30/2024

https://github.com/satijalab/seurat-wrappers/issues/169

acaulier commented 10 months ago

It worked for me, thanks @bc2zb !

RenJ-Feng commented 9 months ago

I have similar issue! I have to install 0.3.x lineage version because I have to match the version because of my data analysis. But when I tried to install them, it gives me an this error. Is version 0.3.x lineage no longer available to be installed? My Seurat installed version is 4.1.1.

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  namespace ‘Seurat’ 4.1.1 is being loaded, but >= 5.0.0 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package ‘SeuratWrappers’
* removing ‘/home/gahui/R/x86_64-pc-linux-gnu-library/4.1/SeuratWrappers’
* restoring previous ‘/home/gahui/R/x86_64-pc-linux-gnu-library/4.1/SeuratWrappers’
Warning message:
In i.p(...) :
  installation of package ‘/tmp/RtmpBiEvAU/file9739d59d48690/SeuratWrappers_0.3.3.tar.gz’ had non-zero exit status

Solution remotes::install_github('satijalab/seurat-wrappers@community-vignette', quiet = TRUE)