conda使用



conda create -n rnaseq #创建conda小环境 - -n 用来指定环境的名称 conda create -n database python=3.7.3 #指定环境中需要带的python的版本 conda activate rnaseq # 启动小环境 conda deactivate #退出小环境111 conda env list / conda info –env #查看共有多少个小环境 conda remove -n python –all #删除conda小环境 conda create -n envname python=3.4 scipy=0.15.0 astroib numpy conda info –env conda info -e conda remove -n python39 –all conda list ##获取当前环境中已安装的包 conda list -n python39 ##获取指定环境中已安装的包 conda list –explicit > requirements.txt conda create –name newenv –requirements.txt conda install –name newenv –file requirements.txt conda install –offline package.tar