satijalab / seurat-wrappers

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

install seuratWrappers failed #137

Open jinyuanchun opened 2 years ago

jinyuanchun commented 2 years ago

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

kenneditodd commented 2 years ago

I had the same problem

zhalenima commented 1 year ago

I had the same problem!!!!!

Jiayi-Zheng commented 1 year ago

@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!

jinyuanchun commented 1 year ago

thank u

Jiayi-Zheng commented 1 year ago

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.

rouninnomi commented 1 year ago

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

michaeleekk commented 1 year ago

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.

ynuozhang commented 1 year ago

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')

khalilnezhadasghar commented 1 year ago

@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!

Than0904 commented 6 months ago

@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!

PauUng commented 2 weeks ago

@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!

Thanks! This also worked for me :)