首先打开终端,conda activate到指定的environment。安装ipykernel:pip install ipykernel。python -m ipykernel install --name python38