使用conda安装fastqc时报错,但我明明是配置了镜像的啊,不理解。或者有没有其他安装fastqc的方法呢,就是用wget安装的貌似安装包损坏了
以下回答引用自chatGpt, 有用的话,请采纳哇!!!
可能是conda的配置文件没有更新,可以尝试使用以下命令更新一下配置文件:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
然后再尝试安装fastqc:
conda install fastqc
如果还是不行,可以尝试手动下载fastqc安装包,然后解压缩并设置环境变量:
wget https://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.9.zip
unzip fastqc_v0.11.9.zip
cd FastQC
chmod 755 fastqc
export PATH=$PATH:/path/to/FastQC
其中,/path/to/FastQC是fastqc所在的路径。