diff --git a/spawnerdockerfile/README.md b/spawnerdockerfile/README.md index 9f101fa..834aa6b 100644 --- a/spawnerdockerfile/README.md +++ b/spawnerdockerfile/README.md @@ -35,4 +35,20 @@ micromamba activate plot micromamba install -c conda-forge ipykernel -y # 将新的虚拟环境添加为一个jupyter的内核 micromamba run -n plot python -m ipykernel install --user --name plot --display-name "Plot Environment" -``` \ No newline at end of file +``` + +# micromamba 提示需要初始化 解决方法 + +```shell +eval "$(micromamba shell hook --shell bash)" +``` + +或者使用 + +```shell +miromamba init +source ~/.bashrc +``` + +这个操作会激活micromamba(mamba, conda)的安装目录`etc/profile.d/micromamba.sh`激活添加到bash初始化文件`.bashrc`里面 +