bash Miniforge3-Linux-x86_64.sh
echo "export PATH=/home/zyt/miniforge3/bin:$PATH" >> ~/.bashrc
source ~/.bashrc
pip install notebook
pip install jupyterlab
jupyter notebook --generate-config
jupyter lab --generate-config
echo "c.NotebookApp.ip = '*'" >> ~/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.allow_root = True" >> ~/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.port = 8888" >> ~/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.ip = '*'" >> ~/.jupyter/jupyter_lab_config.py
echo "c.NotebookApp.allow_root = True" >> ~/.jupyter/jupyter_lab_config.py
echo "c.NotebookApp.port = 8889" >> ~/.jupyter/jupyter_lab_config.py
jupyter notebook password
jupyter lab password
jupyter notebook --no-browser --port=8888
jupyter lab --no-browser --port=8889
jupyter lab --no-browser --ip=172.23.213.148
conda install ipykernel
conda install nb_conda_kernels
python -m ipykernel install --user --name 环境名称 --display-name "显示的名称"
Miniforge3安装
于 2022-10-13 10:28:51 首次发布