Anacoda常用命令

    xiaoxiao2023-11-24  170

    查看版本信息

    conda --version

    更新所有工具包

    conda upgrade --all conda update numpy

    创建虚拟环境

    conda create -n learn python=3

    查看所有环境

    conda env list

    切换到虚拟环境

    activate xxx

    安装第三方包

    conda install xxx pip install xxx

    卸载第三方包

    conda remove requests pip uninstall requests

    当前环境中安装的模块

    conda list

    导入导出环境中的模块

    conda env export > xxx.yaml conda env create -f xxx.yaml

    删除环境及模块

    conda remove -n xxx --all

    摘录自以下内容 :

    https://www.jianshu.com/p/eaee1fadc1e9

    最新回复(0)