velociraptor icon indicating copy to clipboard operation
velociraptor copied to clipboard

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

Open shijianasdf opened this issue 4 years ago • 3 comments
trafficstars

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

截屏2021-08-12 上午7 30 59

shijianasdf avatar Aug 11 '21 23:08 shijianasdf

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.

LTLA avatar Aug 12 '21 07:08 LTLA

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

shijianasdf avatar Aug 12 '21 09:08 shijianasdf

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.

LTLA avatar Aug 13 '21 07:08 LTLA