Python 安装相关记录【持续更新】

ぐ巨炮叔叔 提交于 2020-02-26 10:59:37

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()

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!