1、安装tensorflow出现的问题:
按照网上教程安装anaconda之后,然后紧接着安装tensorflow。(参考:https://blog.csdn.net/u010858605/article/details/64128466)
但是出现tensorflow一直不能用。不用疑问:
一定是版本不兼容问题。
降低tensorflow版本:
pip install tensorflow==2.0.0,就正常了。(或者你多试几个版本,例如:1.8.0/1.5.0)
2、jupyter notebook无法启动kernel问题:
也是版本不兼容问题。
- 降低tornado版本
conda install tornado==4.5.3
conda install jupyter
- 启动还是出现各种问题?接着降低版本:
问题:报错ImportError: cannot import name 'create_prompt_application'
方法:pip install --upgrade prompt-toolkit==1.0.5
问题:报错ValueError: signal only works in main thread
方法:pip install "pyzmq==17.0.0" "ipykernel==4.8.2"