1,安装ipykernel pip install ipykernel 2,通过ipykernel为jupyter添加指定的环境(该环境由conda create -n env_name python=2.7创建) python -m ipykernel install --name env_name 3,重新打开jupyter notebook,就可以看到刚添加的环境