miniconda安装python3.6环境后用vscode运行ipynb文件提示安装ipykernel,安装后仍然出现错误
错误内容
Running cells with 'Python 3.6.13' requires ipykernel package. Run the following command to install 'ipykernel' into the Python environment. Command: 'conda install -p e:\Miniconda\unet ipykernel --update-deps --force-reinstall'
按照提示安装后依然无法运行
解决方案:
新建安装环境3.6.7
conda create --prefix=E:\Miniconda\unet python=3.6.8
安装完毕后安装激活环境
conda activate E:\Miniconda\unet
安装ipykernel
pip install ipykernel