安装anaconda和TensorFlow过程中的记录:
1.anaconda新安装后一直loading applications 解决方案:到第3步就能正常打开:
https://blog.csdn.net/weixin_42529892/article/details/81503261
tip:为了配合TensorFlow,需要安装python3.5或3.6,从而anaconda版本要一起对应,是conda 4.3.30。
2.机器学习教程推荐李文哲老师
https://www.bilibili.com/video/BV1Uf4y157tL?p=55
3.ai任何子领域的入门一定要先看莫烦python的文章和视频
https://mofanpy.com/tutorials/machine-learning/tensorflow/install/
4.anaconda 安装TensorFlow失败,更换源或删除不能用的源。https://blog.csdn.net/gyyu32g/article/details/104611322
这个博客后的评论:将.condarc里的清华源直接删除,就能正常安装TensorFlow了。见anaconda官网指引:
https://docs.anaconda.com/anaconda/user-guide/tasks/tensorflow/?highlight=TensorFlow#install-tensorflow
5.AttributeError: module ‘tensorflow’ has no attribute 'Session’错误解决。
https://blog.csdn.net/sinat_36502563/article/details/102302392
6.在cmd终端里,【ctrl】+【insert】相当于复制,【shift】+【insert】相当于粘贴,在其他操作系统的终端一样试用,例如linux。
7.anaconda安装TensorFlow遇到
Attempting uninstall: pyasn1
Found existing installation: pyasn1 0.1.9
ERROR: Cannot uninstall ‘pyasn1’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决办法:
pip install tensorflow-cpu==2.2.0 -i https://pypi.mirrors.ustc.edu.cn/simple --no-dependencies