1.pip install matplotlib 安装失败时候
解决方案:尝试使用pip3 install matplotlib
2.anaconda下利用git维护github仓库
解决方案:conda install git
3.如何再Anaconda安装Tensorflow
解决方案: https://blog.csdn.net/qq_33505204/article/details/81584257
4.如何批量安装python 相关依赖
解决方案:pip install -r requirements.txt
5. AttributeError: module 'tensorflow' has no attribute 'placeholder'
解决方案:
将
import tensorflow as tf
替换为
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
来源:oschina
链接:https://my.oschina.net/u/169565/blog/3168328