安装miniconda后,pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple更换pip源,等价于在C:\Users\xxx\AppData\Roaming\pip下新建pip.ini,编辑:
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
在base环境下安装jupyter notekook:pip install jupyter ipykernel
创建新环境:conda create -n zjz python=3.10,conda activate zjz
安装jupyter notebook : pip install jupyter ipykernel
切换环境后运行jupyter notebook默认kernel就包含这个环境中的库
解决依赖包版本:pip install xxx==x.x.x