# anaconda 使用 视频教程:[Get Started with Anaconda](https://freelearning.anaconda.cloud/get-started-with-anaconda) ```sh conda --version ``` 列出环境 ```sh conda env list ``` 查看conda已安装的依赖 ```sh conda list ``` # Conda Workflow 1. Create an environment 2. Activate an environment 3. Install packages 4. Launch JupyterLab 5. Deactivate an environment You should always create a new environment for your work. Never work in (base)! 创建环境 ```sh conda create --name example ``` 激活环境 ```sh conda activate example ``` 使用 conda 安装依赖 ```sh conda install jupyterlab dask pandas hvplot ``` 安装 conda-forge ```sh conda install -c conda-forge condastats ``` 开启 jupyter-lab ```sh jupyter-lab ``` ```sh jupyter notebook ``` ```sh jupyter lab ``` 退出当前环境 ```sh conda deactivate ``` ## 其他 创建环境时,指定 python 版本 ```sh conda create --name example39 python=3.9 ``` 导出环境 ```sh conda env export >defaultpy39env.yml ```