Anaconda - 安装 - 优化
Anaconda - 安装 - 优化

conda

configure navigator

通过 Anaconda Navigator UI 修改

configure conda

conda配置 默认地址 %Home%/.condarc,可修改配置添加代理

channels:
  - defaults
show_channel_urls: true
ssl_verify: false
proxy_servers:
  http: http://127.0.0.1:8118
  https: http://127.0.0.1:8118

查看版本

conda --version

查看环境

conda env list

创建环境

conda create --name jira python=3.6

激活环境

conda activate jira

查看配置

conda config --show

安装包

conda install jupyter notebook
conda install numpy=1.10
conda remove numpy
conda search '*beautifulsoup*'

安装插件

jupyterlab_code_formatter 代码格式化插件

conda install -c conda-forge jupyterlab_code_formatter
conda uninstall jupyterlab_code_formatter

Juputer-lab

配置

jupyter-lab --generate-config

配置文件 %Home%/.jupyter/jupyter_lab_config.py

更改 Juputer-lab 默认目录,修改如下:

c.ServerApp.root_dir = r'D:\\xxx\\yyy\\zzz\\my-hero'

Windows查看环境变量-筛选

set | find "go"

参考文档

Jupyter-lab

Jupyter 生成配置文件

conda 环境


最后修改于 2024-04-24

此篇文章的评论功能已经停用。