前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >conda下载multiqc出现报错+conda配置镜像+R语言环境修改

conda下载multiqc出现报错+conda配置镜像+R语言环境修改

原创
作者头像
素素
修改2023-10-20 16:09:33
3480
修改2023-10-20 16:09:33
举报
文章被收录于专栏:生信课程note+实验知识

一、conda下载multiqc出现报错

1.在fastqc环境中下载multiqc

代码语言:javascript
复制
conda install -c bioconda multiqc python=3

2.出现报错”RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment

解决方法:

每次运行前设置编码环境变量

代码语言:javascript
复制
export LC_ALL=en_US.utf-8
export LANG=en_US.utf-8

二、Conda环境配置国内镜像源

  1. 阿里云
代码语言:javascript
复制
conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/main/
conda config --add channels https://mirrors.aliyun.com/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.aliyun.com/anaconda/cloud/bioconda/

2.北京外国语大学

代码语言:javascript
复制
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/cloud/bioconda/

3.清华大学

代码语言:javascript
复制
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/

4.西安交通大学

代码语言:javascript
复制
conda config --add channels https://mirrors.xjtu.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.xjtu.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.xjtu.edu.cn/anaconda/cloud/bioconda/

删除镜像

代码语言:javascript
复制
conda config --remove channels  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

查看镜像

代码语言:javascript
复制
conda config --show channels

三、R语言不同版本切换

1.
2.

3.

4.

5.

6.

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档