conda create -n py36 python=3.6 #创建python3.6版本的虚拟环境
conda env list #查看目前的虚拟环境列表
conda activate py36 #进入虚拟环境py36
conda install ipykernel #安装ipykernel
低版本tf镜像下载地址:https://blog.csdn.net/hardwork617s/article/details/112469741
pip install D:\tensorflow-1.15.4-cp36-cp36m-win_amd64.whl(文件路径改成刚刚下载的位置)
python -m ipykernel install --user --name=py36 #将虚拟环境写入notebook的kernel中
jupyter kernelspec list #查看jupyter所有的kernal
jupyter kernelspec remove mydemo #可以删除指定的kernal
可能报错:Bad file descriptor(C:\ci\zeromq_1602704446950\work\src\epoll.cpp:100)
解决:pip uninstall pyzmq
pip install pyzmq==19.0.2 --user