seurat-wrappers icon indicating copy to clipboard operation
seurat-wrappers copied to clipboard

install seuratWrappers failed

Open jinyuanchun opened this issue 2 years ago • 11 comments

remotes::install_github('satijalab/seurat-wrappers') Downloading GitHub repo satijalab/seurat-wrappers@HEAD Error in utils::download.file(url, path, method = method, quiet = quiet, : download from 'https://api.github.com/repos/satijalab/seurat-wrappers/tarball/HEAD' failed

jinyuanchun avatar Sep 07 '22 12:09 jinyuanchun

I had the same problem

kenneditodd avatar Sep 08 '22 18:09 kenneditodd

I had the same problem!!!!!

zhalenima avatar Sep 27 '22 05:09 zhalenima

@jinyuanchun @kenneditodd @zhalenima I solved this problem by:

  1. type https://api.github.com/repos/satijalab/seurat-wrappers/tarball/HEAD in any web server and you'll see a file named 'satijalab-seurat-wrappers-d28512f.tar.gz' downloading, it's around 50M. (do not use wget https://api.github.com/repos/satijalab/seurat-wrappers/tarball/HEAD somehow it ended up giving me an empty folder)
  2. In R, type install.packages("/User/username/Downloads/satijalab-seurat-wrappers-d28512f.tar.gz",type='source',repos = NULL) #change the directory accordingly

Supposedly it should be this simple, though I encountered a few problems like telling me to update Seurat (and therefore its dependencies like SeuratObject)... which I solved (eventually) by remove.packages('xxx') then install.packages('xxx', dependencies = TRUE) or some other things I tried along the way, not sure which worked, not sure if it's my own problem on local system or so.

Hope this could work for you!

Jiayi-Zheng avatar Oct 25 '22 09:10 Jiayi-Zheng

thank u

jinyuanchun avatar Oct 26 '22 01:10 jinyuanchun

Hi Andrea,

The xxx is the name of packages telling you version not compatible or need update or other (really there's a bunch of them) issues when doing the Seurat wrappers installation.

Jiayi-Zheng avatar Nov 11 '22 05:11 Jiayi-Zheng

Same problem. Unfortunately, Zheng's solution did not work for me. Any help?

Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Warning: invalid package ‘MyDownloadDirectory/satijalab-seurat-wrappers-d28512f.tar.gz’ Error: ERROR: no packages specified

rouninnomi avatar Nov 23 '22 22:11 rouninnomi

I had the same issue and arrived to this post. In case if people got this error also, changing the timeout to a larger number will solve the issue.

options(timeout=9999999)
remotes::install_github('satijalab/seurat-wrappers')

I found this from a stack overflow thread.

michaeleekk avatar Dec 12 '22 03:12 michaeleekk

do the following in your environment: sudo apt-get install -y cmake sudo apt-get install -y libharfbuzz-dev libfribidi-dev sudo apt-get install -y libudunits2-dev and then these in R: install.packages("devtools", dependencies=TRUE) devtools::install_github('satijalab/seurat-wrappers')

ynuozhang avatar Aug 28 '23 15:08 ynuozhang

@Jiayi-Zheng Thanks!

it worked for me by :

install.packages("R.utils") library(R.utils) install.packages("./satijalab-seurat-wrappers-d28512f.tar.gz",type='source',repos = NULL)

@jinyuanchun @kenneditodd @zhalenima I solved this problem by:

  1. type https://api.github.com/repos/satijalab/seurat-wrappers/tarball/HEAD in any web server and you'll see a file named 'satijalab-seurat-wrappers-d28512f.tar.gz' downloading, it's around 50M. (do not use wget https://api.github.com/repos/satijalab/seurat-wrappers/tarball/HEAD somehow it ended up giving me an empty folder)
  2. In R, type install.packages("/User/username/Downloads/satijalab-seurat-wrappers-d28512f.tar.gz",type='source',repos = NULL) #change the directory accordingly

Supposedly it should be this simple, though I encountered a few problems like telling me to update Seurat (and therefore its dependencies like SeuratObject)... which I solved (eventually) by remove.packages('xxx') then install.packages('xxx', dependencies = TRUE) or some other things I tried along the way, not sure which worked, not sure if it's my own problem on local system or so.

Hope this could work for you!

khalilnezhadasghar avatar Sep 06 '23 22:09 khalilnezhadasghar

@jinyuanchun @kenneditodd @zhalenima I solved this problem by:

  1. type https://api.github.com/repos/satijalab/seurat-wrappers/tarball/HEAD in any web server and you'll see a file named 'satijalab-seurat-wrappers-d28512f.tar.gz' downloading, it's around 50M. (do not use wget https://api.github.com/repos/satijalab/seurat-wrappers/tarball/HEAD somehow it ended up giving me an empty folder)
  2. In R, type install.packages("/User/username/Downloads/satijalab-seurat-wrappers-d28512f.tar.gz",type='source',repos = NULL) #change the directory accordingly

Supposedly it should be this simple, though I encountered a few problems like telling me to update Seurat (and therefore its dependencies like SeuratObject)... which I solved (eventually) by remove.packages('xxx') then install.packages('xxx', dependencies = TRUE) or some other things I tried along the way, not sure which worked, not sure if it's my own problem on local system or so.

Hope this could work for you!

Thanks, this method works for me!

Than0904 avatar Mar 15 '24 17:03 Than0904