原因并不清楚,似乎是jupyter的kernel默认的环境变量是python3.5解决方法为手动注册python3.6python3.6 -m pip install ipykernel python3.6 -m ipykernel install --user