kevinrue / velociraptor

Toolkit for Single-Cell Velocity
https://kevinrue.github.io/velociraptor/
Other
55 stars 10 forks source link

scVelo() Error in installConda() : conda installation failed with status code '1' #47

Open shijianasdf opened 3 years ago

shijianasdf commented 3 years ago

When I try to run the scvelo() function I get the following error message (see attached picture).

截屏2021-08-12 上午7 30 59
LTLA commented 3 years ago

You should post errors in formatted code blocks rather than taking screenshots, it's hard for me to read.

I can make out a MD5 sum mismatch, which pretty much says it all. I would guess that the download of the installer was interrupted or corrupted at some point, as discussed here. Suggest going to:

dirname(basilisk.utils:::getExternalDir())

and deleting the old installer. Then restart your R session and try running scvelo() again.

shijianasdf commented 3 years ago

You should post errors in formatted code blocks rather than taking screenshots, it's hard for me to read.

I can make out a MD5 sum mismatch, which pretty much says it all. I would guess that the download of the installer was interrupted or corrupted at some point, as discussed here. Suggest going to:

dirname(basilisk.utils:::getExternalDir())

and deleting the old installer. Then restart your R session and try running scvelo() again.

Thanks for your advice. After go to:

dirname(basilisk.utils:::getExternalDir())

I found a folder containing "Miniconda3-py37_4.8.3-MacOSX-x86_64.sh" and i delete the folder. then i download the package again, I run scVelo() again and got the following error message:

试开URL’https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.3-MacOSX-x86_64.sh'
Error in download.file(url, fname, mode = "wb") : 
 无法打开URL'https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.3-MacOSX-x86_64.sh'
此外: Warning message:
In download.file(url, fname, mode = "wb") :
 URL 'https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.3-MacOSX-x86_64.sh': status was 'Couldn't resolve host >name'

I think the network is bad and the files are not downloaded

LTLA commented 3 years ago

Yes, that would also be my conclusion. You could try downloading the installer manually and sticking the file in that directory, hopefully it should trick basilisk into using it.