ubuntu安装使用conda

Ubuntu install conda with usage

1.sudo apt-get update
2.sudo apt-get install curl
3.cd /tmp
4.curl –O https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
5.sha256sum Anaconda3–2020.02–Linux–x86_64.sh
6.bash Anaconda3-2020.02-Linux-x86_64.sh
7.source ~/.bashrc
8.conda info

注:
第四步下载地址,挑选自己需要的版本:https://repo.anaconda.com/archive/
第五步是校验,校验地址如下,记得改成自己安装的版本号:
https://docs.anaconda.com/anaconda/install/hashes/Anaconda3-2021.05-Linux-x86_64.sh-hash/



conda使用命令
$ conda --version
$ conda info

$ conda info --envs
$ conda env list

$ conda create -n test python=3.6
$ conda create --name test1 python=2.7
$ conda env remove --name test
$ conda remove -n venv --all

$ conda activate test
$ conda deactivate

$ conda install --yes --file requirements.txt
$ while read requirement; do conda install --yes $requirement; done < requirements.txt
$ while read requirement; do conda install --yes $requirement || pip install $requirement; done < requirements.txt

$ anaconda search -t conda pyqt5
$ anaconda show astrofrog/pyqt5
$ conda install --channel https://conda.anaconda.org/astrofrog pyqt5
$ conda install -n test --channel https://conda.anaconda.org/astrofrog pyqt5

 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值