栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

2021

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

2021

conda的安装 使用wget命令下载anaconda或miniconda 推荐下载miniconda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
给执行权限并运行
chmod 777 Miniconda3-latest-Linux-x86_64.sh 
bash Miniconda3-latest-Linux-x86_64.sh 
禁止环境变量
Do you wish the installer to initialize Miniconda3
by running conda init? [yes|no]
[no] 
切换到miniconda3/bin, 启动 conda
chmod 777 activate 
source ./activate 
添加清华源
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 --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/
显示已安装的频道
 conda config --set show_channel_urls yes 
查看已安装的频道
vim ~/.condarc
conda的使用 conda下载软件包
conda install xxx
搜索软件包
conda search xxx
查看该软件安装的位置
which xxx
安装特定版本的软件包
conda install 软件名 版本号
conda install pytorch 1.7.1
查看已安装软件
conda list
更新指定软件
conda update xxx
卸载指定软件
conda remove gatk
退出conda环境
../deactivate
conda deactivate
conda环境创建
conda create -n xxx python x.x
删除环境
conda remove -n xxx --all
重命名环境
conda create -n 新名字 --clone 旧名字
conda remove -n 旧名字 --all
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/267201.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号