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